diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-10-10 17:40:22 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2007-10-10 17:40:22 -0400 |
commit | 7e9e01a4a34fa45521067d43c5bbff942dd5d51a (patch) | |
tree | 408d98fdf4b07c07684cd0c1a87a3e13eaaa0ea5 /hw/dmx/dmxfont.c | |
parent | 59cebcd2e9302d15a52588ecafbbc2d2c5ae3a6c (diff) |
dix: pass a valid ClientPtr to SetFontPath in all cases.
Diffstat (limited to 'hw/dmx/dmxfont.c')
-rw-r--r-- | hw/dmx/dmxfont.c | 3 |
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"); |