diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-02-16 10:06:41 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-14 10:40:32 +0100 |
commit | 6d98e5381e3df544e0f7f4b164dba8bd21f67f48 (patch) | |
tree | 1029b40c0acdcc045fd51a88c4380ccb96a38eeb /nx-X11 | |
parent | 91ca51bffc299519f723cc3adeb207bbad8a26c3 (diff) | |
download | nx-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] =
^~~~~
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/Xi/chgfctl.c | 6 |
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 { |