diff options
author | marha <marha@users.sourceforge.net> | 2010-09-03 06:49:32 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-09-03 06:49:32 +0000 |
commit | 8e79f11d346ea250c35206d08c62831895093ee6 (patch) | |
tree | 61e2a5f4d69c6854c9bff26e655e4c37d7338779 /xorg-server | |
parent | af486c5935a432683052d019da364aef97af745f (diff) | |
download | vcxsrv-8e79f11d346ea250c35206d08c62831895093ee6.tar.gz vcxsrv-8e79f11d346ea250c35206d08c62831895093ee6.tar.bz2 vcxsrv-8e79f11d346ea250c35206d08c62831895093ee6.zip |
Fixed wrong parameter checking
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/hw/xwin/winvalargs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/winvalargs.c b/xorg-server/hw/xwin/winvalargs.c index 6f8d1c994..bc56bf0b5 100644 --- a/xorg-server/hw/xwin/winvalargs.c +++ b/xorg-server/hw/xwin/winvalargs.c @@ -161,8 +161,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"); |