From 8e79f11d346ea250c35206d08c62831895093ee6 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 3 Sep 2010 06:49:32 +0000 Subject: Fixed wrong parameter checking --- xorg-server/hw/xwin/winvalargs.c | 4 ++-- 1 file 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"); -- cgit v1.2.3