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 /dix/main.c | |
parent | 59cebcd2e9302d15a52588ecafbbc2d2c5ae3a6c (diff) |
dix: pass a valid ClientPtr to SetFontPath in all cases.
Diffstat (limited to 'dix/main.c')
-rw-r--r-- | dix/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dix/main.c b/dix/main.c index 03e0013e8..119828bd7 100644 --- a/dix/main.c +++ b/dix/main.c @@ -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'", |