Fix X11DRV_ChangeDisplaySettingsExW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog:
- Correct mode nr passed to X11DRV_XF86VM_SetCurrentMode

Index: xvidmode.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/xvidmode.c,v
retrieving revision 1.19
diff -u -r1.19 xvidmode.c
--- xvidmode.c  20 May 2003 19:18:37 -0000      1.19
+++ xvidmode.c  15 Jun 2003 14:54:59 -0000
@@ -538,7 +538,7 @@
         }
         /* we have a valid mode */
         TRACE("Matches mode %ld\n", i);
-        X11DRV_XF86VM_SetCurrentMode(i-1);
+        X11DRV_XF86VM_SetCurrentMode(i);
 #if 0 /* FIXME */
         SYSMETRICS_Set( SM_CXSCREEN, devmode->dmPelsWidth );
         SYSMETRICS_Set( SM_CYSCREEN, devmode->dmPelsHeight );


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux