Kolbjørn Fredheim : winex11.drv: Echo the video mode requested in the error message when not finding a matching mode .
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 15 07:23:12 CDT 2007
Module: wine
Branch: master
Commit: c960cae9794514752324111f53b5ba55fd5a2a78
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c960cae9794514752324111f53b5ba55fd5a2a78
Author: Kolbjørn Fredheim <hightower at tregt.net>
Date: Fri Jun 15 09:51:35 2007 +0200
winex11.drv: Echo the video mode requested in the error message when not finding a matching mode.
---
dlls/winex11.drv/settings.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/settings.c b/dlls/winex11.drv/settings.c
index fd4671a..cc6dd2c 100644
--- a/dlls/winex11.drv/settings.c
+++ b/dlls/winex11.drv/settings.c
@@ -303,7 +303,9 @@ LONG X11DRV_ChangeDisplaySettingsEx( LPCWSTR devname, LPDEVMODEW devmode,
}
/* no valid modes found */
- ERR("No matching mode found! (%s)\n", handler_name);
+ ERR("No matching mode found(%dx%dx%d)! (%s)\n",
+ devmode->dmPelsWidth, devmode->dmPelsHeight,
+ devmode->dmBitsPerPel, handler_name);
return DISP_CHANGE_BADMODE;
}
More information about the wine-cvs
mailing list