changeset 8935:3c50e662d588

10l, init priv->X at right place
author atmos4
date Mon, 13 Jan 2003 01:20:21 +0000
parents 90195705ae00
children 7c28736ebf2c
files libvo/vo_sdl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Mon Jan 13 00:45:04 2003 +0000
+++ b/libvo/vo_sdl.c	Mon Jan 13 01:20:21 2003 +0000
@@ -834,7 +834,6 @@
 	aspect_save_prescale(d_width ? d_width : width, d_height ? d_height : height);
 
 	/* Save the original Image size */
-    priv->X = 0;
     priv->width  = width;
     priv->height = height;
     priv->dstwidth  = d_width ? d_width : width;
@@ -1609,6 +1608,7 @@
     SDL_VideoDriverName(priv->driver, 8);
     printf("SDL: Using driver: %s\n", priv->driver);
 
+    priv->X = 0;
 #ifdef HAVE_X11
     XDisplay = XOpenDisplay(NULL);
     if(XDisplay) {