diff osdep/vbelib.c @ 10114:f6a788f113a8

uninit fix by Aurelien JACOBS <aurel at gnuage.org>
author faust3
date Fri, 16 May 2003 16:34:57 +0000
parents edfe34c5405d
children 22f8732b5d97
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;