aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Font.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:25:22 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commit42f76ddeefb18c6e5120d10abc3e13354ff543a0 (patch)
treea5bfb99157d50ed5556d732073653ba62154d8b0 /nx-X11/programs/Xserver/hw/nxagent/Font.c
parentbd336c92bf100e037c19f500786a94eac02e2e92 (diff)
downloadnx-libs-42f76ddeefb18c6e5120d10abc3e13354ff543a0.tar.gz
nx-libs-42f76ddeefb18c6e5120d10abc3e13354ff543a0.tar.bz2
nx-libs-42f76ddeefb18c6e5120d10abc3e13354ff543a0.zip
nxagent: make nxagentVerbose a Boolean
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Font.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Font.c b/nx-X11/programs/Xserver/hw/nxagent/Font.c
index dcbd6949a..0ce5b87ad 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Font.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Font.c
@@ -750,7 +750,7 @@ static XFontStruct *nxagentLoadBestQueryFont(Display* dpy, char *fontName, FontP
if (numFontFields <= FIELDS)
{
#ifdef WARNING
- if (nxagentVerbose == 1)
+ if (nxagentVerbose)
{
fprintf(stderr, "nxagentLoadBestQueryFont: WARNING! Font name in non standard format.\n");
}
@@ -817,7 +817,7 @@ static XFontStruct *nxagentLoadBestQueryFont(Display* dpy, char *fontName, FontP
}
#ifdef WARNING
- if (nxagentVerbose == 1)
+ if (nxagentVerbose)
{
fprintf(stderr, "nxagentLoadBestQueryFont: WARNING! Failed to load font '%s'. Replacing with '%s'.\n",
fontName, substFontBuf);