# HG changeset patch # User atmos4 # Date 1042420821 0 # Node ID 3c50e662d58870de72390a1d9138c2485591d815 # Parent 90195705ae00911fe50c28be3a54eefb03593e71 10l, init priv->X at right place diff -r 90195705ae00 -r 3c50e662d588 libvo/vo_sdl.c --- 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) {