aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXglyph.c16
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;
}
}