aboutsummaryrefslogtreecommitdiffhomepage
path: root/set_color.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-14 09:05:02 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-14 09:05:02 +1000
commitbee6805ff9cb309d88e91c311917b4b9d15290f0 (patch)
tree2d1509ed96bde933106eb65436d7a41c2230d970 /set_color.c
parent65035c4dc739eda4f6bb1736f136fdc539701948 (diff)
Check return value of del_curterm
darcs-hash:20060813230502-ac50b-2b7e30d3560097725789bf6aa659835e30c7a81b.gz
Diffstat (limited to 'set_color.c')
-rw-r--r--set_color.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/set_color.c b/set_color.c
index b5873bc7..b63d0975 100644
--- a/set_color.c
+++ b/set_color.c
@@ -337,6 +337,9 @@ int main( int argc, char **argv )
}
}
- del_curterm( cur_term );
+ if( del_curterm( cur_term ) == ERR )
+ {
+ debug( 0, _(L"Error while closing terminfo") );
+ }
}