aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-16 10:06:41 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-14 10:40:32 +0100
commit6d98e5381e3df544e0f7f4b164dba8bd21f67f48 (patch)
tree1029b40c0acdcc045fd51a88c4380ccb96a38eeb
parent91ca51bffc299519f723cc3adeb207bbad8a26c3 (diff)
downloadnx-libs-6d98e5381e3df544e0f7f4b164dba8bd21f67f48.tar.gz
nx-libs-6d98e5381e3df544e0f7f4b164dba8bd21f67f48.tar.bz2
nx-libs-6d98e5381e3df544e0f7f4b164dba8bd21f67f48.zip
Xserver/Xi/chgfctl.c: Fix compiler warning: misleading-indentation.
chgfctl.c: In function 'ChangeKbdFeedback': chgfctl.c:359:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ chgfctl.c:361:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' kctrl.autoRepeats[inx] = ^~~~~
-rw-r--r--nx-X11/programs/Xserver/Xi/chgfctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/Xi/chgfctl.c b/nx-X11/programs/Xserver/Xi/chgfctl.c
index 341c794ce..a5ad73d11 100644
--- a/nx-X11/programs/Xserver/Xi/chgfctl.c
+++ b/nx-X11/programs/Xserver/Xi/chgfctl.c
@@ -358,9 +358,9 @@ ChangeKbdFeedback (client, dev, mask, k, f)
kctrl.autoRepeat = defaultKeyboardControl.autoRepeat;
else
kctrl.autoRepeats[inx] &= ~kmask;
- kctrl.autoRepeats[inx] =
- (kctrl.autoRepeats[inx] & ~kmask) |
- (defaultKeyboardControl.autoRepeats[inx] & kmask);
+ kctrl.autoRepeats[inx] =
+ (kctrl.autoRepeats[inx] & ~kmask) |
+ (defaultKeyboardControl.autoRepeats[inx] & kmask);
}
else
{