aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-03-13 20:17:51 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-03-13 21:24:52 +0100
commitaf8e5e03a8dfac2bd245b82e437cf4b1996a995d (patch)
tree20b65f570f6a5beb1e496846f0e719603dff379b /nx-X11/programs/Xserver/hw
parent8f7b0b75b83c3651f92d6a6e6f8ff6c8f17de061 (diff)
downloadnx-libs-af8e5e03a8dfac2bd245b82e437cf4b1996a995d.tar.gz
nx-libs-af8e5e03a8dfac2bd245b82e437cf4b1996a995d.tar.bz2
nx-libs-af8e5e03a8dfac2bd245b82e437cf4b1996a995d.zip
Keystroke: whitespace fixes
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keystroke.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keystroke.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
index fc4868d1c..7eb7451c6 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
@@ -193,7 +193,7 @@ static Bool read_binding_from_xmlnode(xmlNode *node, struct nxagentSpecialKeystr
newkm.stroke = KEYSTROKE_END_MARKER;
for (int i = 0; nxagentSpecialKeystrokeNames[i] != NULL; i++)
{
- if (strcmp(nxagentSpecialKeystrokeNames[i],(char *)attr->children->content) == 0)
+ if (strcmp(nxagentSpecialKeystrokeNames[i], (char *)attr->children->content) == 0)
{
/* this relies on the values of enum nxagentSpecialKeystroke and the
* indices of nxagentSpecialKeystrokeNames being in sync */
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h
index 45f507d51..56c977418 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h
@@ -69,7 +69,7 @@ enum nxagentSpecialKeystroke {
/* insert more here, increment KEYSTROKE_MAX accordingly.
* then update string translation below */
- KEYSTROKE_MAX=22,
+ KEYSTROKE_MAX = 22,
};
struct nxagentSpecialKeystrokeMap {