changeset 8042:72b8f3c62d83

Missed some gui ifdefs
author mswitch
date Sat, 02 Nov 2002 16:00:21 +0000
parents b5ff8f269bca
children e5dda05f9aab
files libvo/vo_dxr3.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Sat Nov 02 14:29:50 2002 +0000
+++ b/libvo/vo_dxr3.c	Sat Nov 02 16:00:21 2002 +0000
@@ -735,9 +735,13 @@
 		overlay_set_mode(overlay_data, EM8300_OVERLAY_MODE_OFF);
 		overlay_release(overlay_data);
 		
+#ifdef HAVE_NEW_GUI
 		if (!use_gui) {
+#endif
 			vo_x11_uninit();
+#ifdef HAVE_NEW_GUI
 		}
+#endif
 	}
 #endif
 	if (fd_video) {
@@ -896,12 +900,16 @@
 		
 		/* Initialize overlay and X11 */
 		overlay_data = overlay_init(fd_control);
+#ifdef HAVE_NEW_GUI
 		if (!use_gui) {
+#endif
 			if (!vo_init()) {
 				printf("VO: [dxr3] Unable to init x11!\n");
 				return -1;
 			}
+#ifdef HAVE_NEW_GUI
 		}
+#endif
 	}
 #endif