summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-10-10 17:40:22 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-10-10 17:40:22 -0400
commit7e9e01a4a34fa45521067d43c5bbff942dd5d51a (patch)
tree408d98fdf4b07c07684cd0c1a87a3e13eaaa0ea5 /hw/dmx
parent59cebcd2e9302d15a52588ecafbbc2d2c5ae3a6c (diff)
dix: pass a valid ClientPtr to SetFontPath in all cases.
Diffstat (limited to 'hw/dmx')
-rw-r--r--hw/dmx/dmxfont.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/dmx/dmxfont.c b/hw/dmx/dmxfont.c
index e5f86350a..b70f7d2df 100644
--- a/hw/dmx/dmxfont.c
+++ b/hw/dmx/dmxfont.c
@@ -361,7 +361,8 @@ Bool dmxBELoadFont(ScreenPtr pScreen, FontPtr pFont)
}
}
- if (SetFontPath(NULL, newnpaths, (unsigned char *)newfp, &error)) {
+ if (SetFontPath(serverClient, newnpaths, (unsigned char *)newfp,
+ &error)) {
/* Note that this should never happen since all of the
* FPEs were previously valid. */
dmxLog(dmxError, "Cannot reset the default font path.\n");