diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-11-18 23:02:53 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-04-27 14:20:56 +0200 |
commit | 36c6f09430f74495cb1802e93b9299be0c3d3e53 (patch) | |
tree | 675e633ba4ddf6637667e32bf10d74bc8302a588 /nx-X11/programs/Xserver/hw/nxagent/Atoms.c | |
parent | 75c10f3429eb30023a16219795a85569cb48a73a (diff) | |
download | nx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.tar.gz nx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.tar.bz2 nx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.zip |
nxagent: delete trailing whitespace in many files
Please note that the NX*.c files still have trailing whitespace at
many locations. We keep it like that on purpose to make comparisons to
the files they are derived from easier.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Atoms.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c index 6ce8b21e8..632f09440 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c @@ -225,7 +225,7 @@ static void finishWMDetection(Bool verbose) } } -void nxagentWMDetect() +void nxagentWMDetect() { /* FIXME: verbose is always false, there's no code to set it to true */ Bool verbose = False; @@ -508,7 +508,7 @@ static void nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet) name_list[i] = atomNameList[i]; atom_list[i] = None; } - + for (unsigned int i = 0; i < privLastAtom; i++) { name_list[count + i] = (char *)privAtomMap[i].string; @@ -623,7 +623,7 @@ static AtomMap* nxagentFindAtomByName(char *string, unsigned int length) { for (unsigned int i = 0; i < privLastAtom; i++) { - if ((length == privAtomMap[i].length) && + if ((length == privAtomMap[i].length) && (strcmp(string, privAtomMap[i].string) == 0)) { return (privAtomMap + i); |