aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c4
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.h2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Init.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index a18b4f0f9..ee76fc795 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -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
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.h b/nx-X11/programs/Xserver/hw/nxagent/Args.h
index c8f8907c3..aebb521a6 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.h
@@ -97,7 +97,7 @@ void nxagentSetCoalescence(void);
void nxagentShowVersionInfo(void);
-extern int nxagentUserDefinedFontPath;
+extern Bool nxagentUserDefinedFontPath;
extern int nxagentRemoteMajor;
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c
index 7f5360636..e8e230956 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -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");