aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.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 /input.c
parent65035c4dc739eda4f6bb1736f136fdc539701948 (diff)
Check return value of del_curterm
darcs-hash:20060813230502-ac50b-2b7e30d3560097725789bf6aa659835e30c7a81b.gz
Diffstat (limited to 'input.c')
-rw-r--r--input.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/input.c b/input.c
index 12641c7e..256a37e7 100644
--- a/input.c
+++ b/input.c
@@ -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") );
+ }
+
}
/**