diff options
author | axel <axel@liljencrantz.se> | 2006-08-14 09:05:02 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-08-14 09:05:02 +1000 |
commit | bee6805ff9cb309d88e91c311917b4b9d15290f0 (patch) | |
tree | 2d1509ed96bde933106eb65436d7a41c2230d970 /set_color.c | |
parent | 65035c4dc739eda4f6bb1736f136fdc539701948 (diff) |
Check return value of del_curterm
darcs-hash:20060813230502-ac50b-2b7e30d3560097725789bf6aa659835e30c7a81b.gz
Diffstat (limited to 'set_color.c')
-rw-r--r-- | set_color.c | 5 |
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") ); + } } |