mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 17:10:05 +01:00
Cygwin/X: Fix a typo in command line argument validation code
Fortunately, these swapped constants are benign as they have the same value, 0 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> Tested-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
5390b49467
commit
981ad1f364
1 changed files with 2 additions and 2 deletions
|
|
@ -154,8 +154,8 @@ winValidateArgs (void)
|
|||
|
||||
/* Check for !fullscreen and any fullscreen-only parameters */
|
||||
if (!g_ScreenInfo[i].fFullScreen
|
||||
&& (g_ScreenInfo[i].dwRefreshRate != WIN_DEFAULT_BPP
|
||||
|| g_ScreenInfo[i].dwBPP != WIN_DEFAULT_REFRESH))
|
||||
&& (g_ScreenInfo[i].dwRefreshRate != WIN_DEFAULT_REFRESH
|
||||
|| g_ScreenInfo[i].dwBPP != WIN_DEFAULT_BPP))
|
||||
{
|
||||
ErrorF ("winValidateArgs - -refresh and -depth are only valid "
|
||||
"with -fullscreen.\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue