Commit 17e0265a authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Screen.c: fix: use bit operator, not logic operator

parent b8751fca
...@@ -4694,7 +4694,7 @@ void nxagentPrintGeometry(void) ...@@ -4694,7 +4694,7 @@ void nxagentPrintGeometry(void)
for (i = 0; i < screenInfo.numScreens; i++) for (i = 0; i < screenInfo.numScreens; i++)
{ {
if (nxagentPrintGeometryFlags && (1 << i)) if (nxagentPrintGeometryFlags & (1 << i))
{ {
fprintf(stderr, "Info: Screen [%d] resized to geometry [%dx%d] " fprintf(stderr, "Info: Screen [%d] resized to geometry [%dx%d] "
"fullscreen [%d].\n", i, screenInfo.screens[i] -> width, "fullscreen [%d].\n", i, screenInfo.screens[i] -> width,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment