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 /input.c | |
parent | 65035c4dc739eda4f6bb1736f136fdc539701948 (diff) |
Check return value of del_curterm
darcs-hash:20060813230502-ac50b-2b7e30d3560097725789bf6aa659835e30c7a81b.gz
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1489,7 +1489,11 @@ void input_destroy() hash_foreach( &all_mappings, &destroy_mapping ); hash_destroy( &all_mappings ); - del_curterm( cur_term ); + if( del_curterm( cur_term ) == ERR ) + { + debug( 0, _(L"Error while closing terminfo") ); + } + } /** |