diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-04-22 22:13:58 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-05-11 18:53:27 +0200 |
commit | b95fe005c7ab6aa09d287b85e2870507219bacce (patch) | |
tree | 675bb300052fa9c4b6679326a2c02d81e1b8c4c9 | |
parent | a70c8be1d21ea6d974d5ac842c1b0b334f2d6573 (diff) | |
download | nx-libs-b95fe005c7ab6aa09d287b85e2870507219bacce.tar.gz nx-libs-b95fe005c7ab6aa09d287b85e2870507219bacce.tar.bz2 nx-libs-b95fe005c7ab6aa09d287b85e2870507219bacce.zip |
NXglyph.c: reformat ResizeGlyphHash
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXglyph.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c index f11660706..22c45bd9c 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c @@ -221,23 +221,15 @@ ResizeGlyphHash (GlyphHashPtr hash, CARD32 change, Bool global) if (glyph && glyph != DeletedGlyph) { s = hash->table[i].signature; - - #ifdef NXAGENT_SERVER - +#ifdef NXAGENT_SERVER CARD32 c = hash->table[i].corruptedGlyph; - - #endif - +#endif gr = FindGlyphRef (&newHash, s, global, glyph); gr->signature = s; gr->glyph = glyph; - - #ifdef NXAGENT_SERVER - +#ifdef NXAGENT_SERVER gr -> corruptedGlyph = c; - - #endif - +#endif ++newHash.tableEntries; } } |