summaryrefslogtreecommitdiff
path: root/hw/xwin
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-08-10 16:24:57 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2011-01-19 14:02:30 +0000
commit981ad1f364cf4fe8008c0f3592eb0f73dd14a118 (patch)
tree843e949b78983d7520cbf070aab50a2c3f3ded87 /hw/xwin
parent5390b494672393506466d8afdb9b146b0e585cc0 (diff)
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>
Diffstat (limited to 'hw/xwin')
-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");