From b95fe005c7ab6aa09d287b85e2870507219bacce Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 22 Apr 2024 22:13:58 +0200 Subject: NXglyph.c: reformat ResizeGlyphHash --- nx-X11/programs/Xserver/hw/nxagent/NXglyph.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'nx-X11/programs') 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; } } -- cgit v1.2.3