changeset 10920:e4cda4f51981

prevent crashes with vo_sdl
author henry
date Sun, 21 Sep 2003 16:32:31 +0000
parents dbb3f474c9de
children 3eda9985bc7d
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sun Sep 21 15:44:23 2003 +0000
+++ b/libvo/x11_common.c	Sun Sep 21 16:32:31 2003 +0000
@@ -1101,7 +1101,7 @@
 {
     XEvent ev;
 
-    if (xs_windowid &&
+    if (mDisplay && xs_windowid &&
 	((time - time_last)>30 ||
 	 (time - time_last)<0)) {
 	time_last = time;