mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-07 23:02:23 +00:00
dix: pass a valid ClientPtr to SetFontPath in all cases.
This commit is contained in:
parent
59cebcd2e9
commit
7e9e01a4a3
2 changed files with 5 additions and 4 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue