aboutsummaryrefslogtreecommitdiffhomepage
path: root/set_color.c
diff options
context:
space:
mode:
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") );
+ }
}