projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patches from pkgsrc-WIP
[oweals/cde.git]
/
cde
/
programs
/
dtlogin
/
fontpath.c
diff --git
a/cde/programs/dtlogin/fontpath.c
b/cde/programs/dtlogin/fontpath.c
index 87e490a356fcf44be59ec98db87e93ba95133215..993a1b24f4c0c1687c781a158f68939e822d7a62 100644
(file)
--- a/
cde/programs/dtlogin/fontpath.c
+++ b/
cde/programs/dtlogin/fontpath.c
@@
-58,7
+58,7
@@
static int PathInZList(char *path, char *fplist, int listlen);
static int SeparateParts( char **path );
static int SeparateParts( char **path );
-static
+static
void
DebugFontPath(char *note, char **path, int nelems)
{
int i;
DebugFontPath(char *note, char **path, int nelems)
{
int i;
@@
-103,12
+103,12
@@
ApplyFontPathMods( struct display *d, Display *dpy )
if (d->displayType.location == Foreign) {
Debug(" Foreign display\n");
if (d->displayType.location == Foreign) {
Debug(" Foreign display\n");
- return;
+ return
0
;
}
if (!(fontPath=XGetFontPath(dpy, &numPaths))) {
Debug(" Can't get font path\n");
}
if (!(fontPath=XGetFontPath(dpy, &numPaths))) {
Debug(" Can't get font path\n");
- return;
+ return
0
;
}
/*
}
/*
@@
-182,6
+182,8
@@
ApplyFontPathMods( struct display *d, Display *dpy )
if (fph) free(fph);
if (fpt) free(fpt);
XFreeFontPath(fontPath);
if (fph) free(fph);
if (fpt) free(fpt);
XFreeFontPath(fontPath);
+
+ return 1;
}
/* ___________________________________________________________________
}
/* ___________________________________________________________________