Commit 6f4dbefb authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: make nxagentUserDefinedFontPath a Boolean

parent 1b7f37a8
......@@ -116,7 +116,7 @@ is" without express or implied warranty.
#undef DISABLE_SMART_SCHEDULE
int nxagentUserDefinedFontPath = 0;
Bool nxagentUserDefinedFontPath = False;
/*
* From X11/ImUtil.c.
......@@ -558,7 +558,7 @@ int ddxProcessArgument(int argc, char *argv[], int i)
fprintf(stderr, "ddxProcessArgument: User defined font path [%s].\n", argv[i]);
#endif
nxagentUserDefinedFontPath = 1;
nxagentUserDefinedFontPath = True;
defaultFontPath = argv[i];
}
else
......
......@@ -97,7 +97,7 @@ void nxagentSetCoalescence(void);
void nxagentShowVersionInfo(void);
extern int nxagentUserDefinedFontPath;
extern Bool nxagentUserDefinedFontPath;
extern int nxagentRemoteMajor;
......
......@@ -251,7 +251,7 @@ void InitOutput(ScreenInfo *scrInfo, int argc, char *argv[])
AddCallback(&ServerGrabCallback, nxagentGrabServerCallback, NULL);
}
if (nxagentUserDefinedFontPath == 0)
if (!nxagentUserDefinedFontPath)
{
#ifdef TEST
fprintf(stderr, "InitOutput: Calling nxagentVerifyDefaultFontPath.\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment