aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-07-23 21:31:40 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 17:10:05 +0200
commit17e0265a49466acfcef1da026e22a79f5a89ba6d (patch)
treea83e2a68d4c45205f3532a9c649d7bd75668279c
parentb8751fca890b9714450b158d8405850c6856a753 (diff)
downloadnx-libs-17e0265a49466acfcef1da026e22a79f5a89ba6d.tar.gz
nx-libs-17e0265a49466acfcef1da026e22a79f5a89ba6d.tar.bz2
nx-libs-17e0265a49466acfcef1da026e22a79f5a89ba6d.zip
Screen.c: fix: use bit operator, not logic operator
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 8285d464d..b3f4ccbc6 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -4694,7 +4694,7 @@ void nxagentPrintGeometry(void)
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] "
"fullscreen [%d].\n", i, screenInfo.screens[i] -> width,