winex11.drv: Echo the video mode requested in the error message when not finding a matching mode.

oldstable
Kolbjørn Fredheim 2007-06-15 09:51:35 +02:00 committed by Alexandre Julliard
parent ebb460c3c0
commit c960cae979
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}