dix: pass a valid ClientPtr to SetFontPath in all cases.
This commit is contained in:
@@ -388,9 +388,9 @@ main(int argc, char *argv[], char *envp[])
|
||||
FatalError("failed to initialize core devices");
|
||||
|
||||
InitFonts();
|
||||
if (loadableFonts) {
|
||||
SetFontPath(0, 0, (unsigned char *)defaultFontPath, &error);
|
||||
}
|
||||
if (loadableFonts)
|
||||
SetFontPath(serverClient, 0, (unsigned char *)defaultFontPath,
|
||||
&error);
|
||||
else {
|
||||
if (SetDefaultFontPath(defaultFontPath) != Success)
|
||||
ErrorF("failed to set default font path '%s'",
|
||||
|
||||
Reference in New Issue
Block a user