summaryrefslogtreecommitdiff
path: root/hw/xwin/winvalargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winvalargs.c')
-rw-r--r--hw/xwin/winvalargs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/winvalargs.c b/hw/xwin/winvalargs.c
index 6680aba67..04db777b0 100644
--- a/hw/xwin/winvalargs.c
+++ b/hw/xwin/winvalargs.c
@@ -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");