changeset 10114:f6a788f113a8

uninit fix by Aurelien JACOBS <aurel at gnuage.org>
author faust3
date Fri, 16 May 2003 16:34:57 +0000
parents 443ac419f3a4
children 0ddf649cff61
files osdep/vbelib.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/vbelib.c	Fri May 16 16:03:42 2003 +0000
+++ b/osdep/vbelib.c	Fri May 16 16:34:57 2003 +0000
@@ -150,7 +150,7 @@
 
 int vbeDestroy( void ) 
 {
-  __set_cursor_type(my_stdout,1);
+  if (my_stdout)  __set_cursor_type(my_stdout,1);
   close(fd_mem);
   LRMI_free_real(controller_info);
   return VBE_OK;