aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-19 12:42:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:15 +0200
commitc135bbcfea95d7468c18a672266c98dffde8597f (patch)
tree882dc56e40d1e739e0c0f8c17ab61449cc56b102 /nx-X11/programs/Xserver/dix
parent8199ec319f9bebc2a2407d6e5d38f87943b3382c (diff)
downloadnx-libs-c135bbcfea95d7468c18a672266c98dffde8597f.tar.gz
nx-libs-c135bbcfea95d7468c18a672266c98dffde8597f.tar.bz2
nx-libs-c135bbcfea95d7468c18a672266c98dffde8597f.zip
NXdixfonts.c: call dix version of SetDefaultFontPath
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r--nx-X11/programs/Xserver/dix/dixfonts.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/dix/dixfonts.c b/nx-X11/programs/Xserver/dix/dixfonts.c
index f1fa53f69..e3e90b163 100644
--- a/nx-X11/programs/Xserver/dix/dixfonts.c
+++ b/nx-X11/programs/Xserver/dix/dixfonts.c
@@ -1958,9 +1958,12 @@ SetFontPath(ClientPtr client, int npaths, unsigned char *paths)
return err;
}
-#ifndef NXAGENT_SERVER
int
+#ifdef NXAGENT_SERVER
+xorg_SetDefaultFontPath(char *path)
+#else
SetDefaultFontPath(char *path)
+#endif
{
char *temp_path,
*start,
@@ -2027,7 +2030,6 @@ SetDefaultFontPath(char *path)
return err;
}
-#endif /* NXAGENT_SERVER */
unsigned char *
GetFontPath(int *count, int *length)