aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-12-01 23:59:36 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-12-19 12:30:22 +0100
commitd0d6c1bdba457c9e6cc5eaddbe8d94e5b2dd74ad (patch)
tree1b612bdc9abf1d57b8f77933737849b0640598ef /nx-X11
parent269a352ff493f2f41e81afa5485dec39d2d5dbf4 (diff)
downloadnx-libs-d0d6c1bdba457c9e6cc5eaddbe8d94e5b2dd74ad.tar.gz
nx-libs-d0d6c1bdba457c9e6cc5eaddbe8d94e5b2dd74ad.tar.bz2
nx-libs-d0d6c1bdba457c9e6cc5eaddbe8d94e5b2dd74ad.zip
Keyboard.c: rename variables to better reflect their meaning
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keyboard.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
index 3410e09b0..b525a2a9c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -819,20 +819,20 @@ XkbError:
#endif
{
- char *drules = NULL;
- char *dmodel = NULL;
- char *dlayout = NULL;
- char *dvariant = NULL;
- char *doptions = NULL;
+ char *remoterules = NULL;
+ char *remotemodel = NULL;
+ char *remotelayout = NULL;
+ char *remotevariant = NULL;
+ char *remoteoptions = NULL;
- unsigned int drulesLen = nxagentXkbGetNames(&drules, &dmodel, &dlayout,
- &dvariant, &doptions);
+ unsigned int remoteruleslen = nxagentXkbGetNames(&remoterules, &remotemodel, &remotelayout,
+ &remotevariant, &remoteoptions);
#ifdef DEBUG
- if (drulesLen && drules && dmodel)
+ if (remoteruleslen && remoterules && remotemodel)
{
fprintf(stderr, "%s: Remote: [rules='%s',model='%s',layout='%s',variant='%s',options='%s'].\n",
- __func__, drules, dmodel, dlayout, dvariant, doptions);
+ __func__, remoterules, remotemodel, remotelayout, remotevariant, remoteoptions);
}
else
{
@@ -840,12 +840,12 @@ XkbError:
}
#endif
- nxagentWriteKeyboardFile(drulesLen, drules, dmodel, dlayout, dvariant, doptions);
- nxagentKeycodeConversionSetup(drules, dmodel);
+ nxagentWriteKeyboardFile(remoteruleslen, remoterules, remotemodel, remotelayout, remotevariant, remoteoptions);
+ nxagentKeycodeConversionSetup(remoterules, remotemodel);
- if (drules)
+ if (remoterules)
{
- XFree(drules);
+ XFree(remoterules);
}
}
@@ -1687,21 +1687,21 @@ void nxagentResetKeycodeConversion(void)
if (result != 0)
{
- char *drules = NULL;
- char *dmodel = NULL;
- char *dlayout = NULL;
- char *dvariant = NULL;
- char *doptions = NULL;
- unsigned int drulesLen;
+ char *remoterules = NULL;
+ char *remotemodel = NULL;
+ char *remotelayout = NULL;
+ char *remotevariant = NULL;
+ char *remoteoptions = NULL;
+ unsigned int remoteruleslen;
- drulesLen = nxagentXkbGetNames(&drules, &dmodel, &dlayout,
- &dvariant, &doptions);
+ remoteruleslen = nxagentXkbGetNames(&remoterules, &remotemodel, &remotelayout,
+ &remotevariant, &remoteoptions);
- if (drulesLen && drules && dmodel)
- nxagentKeycodeConversionSetup(drules, dmodel);
+ if (remoteruleslen && remoterules && remotemodel)
+ nxagentKeycodeConversionSetup(remoterules, remotemodel);
- if (drules)
- XFree(drules);
+ if (remoterules)
+ XFree(remoterules);
}
else
{