Package: zen
Version: 0.2.2
Author: Guillem Jover <guillem@hadrons.org>
Status: applied
Description:
 Fix some compiler warnings.
 Use new oFBis open mode to not freeze the app.

Index: src/ui/ofbis/ofbis_helpers.c
===================================================================
RCS file: /usr/local/cvsroot/zen/src/ui/ofbis/ofbis_helpers.c,v
retrieving revision 1.11
diff -u -r1.11 ofbis_helpers.c
--- src/ui/ofbis/ofbis_helpers.c	1 Jul 2002 21:28:44 -0000	1.11
+++ src/ui/ofbis/ofbis_helpers.c	26 Jun 2003 04:07:33 -0000
@@ -156,6 +156,7 @@
     break;
 
   default:
+    break;
   }
 
   return 0;
Index: src/ui/ofbis/ofbis_main.c
===================================================================
RCS file: /usr/local/cvsroot/zen/src/ui/ofbis/ofbis_main.c,v
retrieving revision 1.34
diff -u -r1.34 ofbis_main.c
--- src/ui/ofbis/ofbis_main.c	7 Jan 2001 19:37:16 -0000	1.34
+++ src/ui/ofbis/ofbis_main.c	26 Jun 2003 04:07:33 -0000
@@ -574,8 +574,7 @@
 	ofbis_move_mouse(event.mouse.x, event.mouse.y, 0, 0);
       }
       break;
-      
-    default:
+
     }
   }
 
Index: src/ui/ofbis/ofbis_open.c
===================================================================
RCS file: /usr/local/cvsroot/zen/src/ui/ofbis/ofbis_open.c,v
retrieving revision 1.13
diff -u -r1.13 ofbis_open.c
--- src/ui/ofbis/ofbis_open.c	11 Nov 2000 15:09:51 -0000	1.13
+++ src/ui/ofbis/ofbis_open.c	26 Jun 2003 04:07:33 -0000
@@ -127,7 +127,7 @@
   int nr_of_colours, i, r, g, b, ret;
   int *red, *green, *blue;
 
-  fb = FBopen(NULL, FB_OPEN_NEW_VC);
+  fb = FBopen(NULL, FB_KEEP_CURRENT_VC);
   if(fb == NULL)
     return 1;
 
Index: src/ui/ofbis/ofbis_render.c
===================================================================
RCS file: /usr/local/cvsroot/zen/src/ui/ofbis/ofbis_render.c,v
retrieving revision 1.19
diff -u -r1.19 ofbis_render.c
--- src/ui/ofbis/ofbis_render.c	11 Nov 2000 15:09:51 -0000	1.19
+++ src/ui/ofbis/ofbis_render.c	26 Jun 2003 04:07:34 -0000
@@ -140,6 +140,7 @@
       break;
 
     default:
+      break;
     }
 
     ofbis_create_links(partp->child);
