From: Matthew Fernandez Date: Sun, 24 Oct 2021 17:55:29 +0000 (-0700) Subject: xlib plugin: swap a boolean for a C99 bool for 'initialized' X-Git-Tag: 2.50.0~59^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c79d8f62b50e148261d01e0bb4d14ee5ea0d33b;p=graphviz xlib plugin: swap a boolean for a C99 bool for 'initialized' --- diff --git a/plugin/xlib/gvdevice_xlib.c b/plugin/xlib/gvdevice_xlib.c index d41d83493..97cd1427e 100644 --- a/plugin/xlib/gvdevice_xlib.c +++ b/plugin/xlib/gvdevice_xlib.c @@ -10,6 +10,7 @@ #include "config.h" +#include #include #include #include @@ -445,7 +446,7 @@ static int handle_file_events(GVJ_t *job, int inotify_fd) } #endif -static boolean initialized; +static bool initialized; static void xlib_initialize(GVJ_t *firstjob) { @@ -485,7 +486,7 @@ static void xlib_initialize(GVJ_t *firstjob) firstjob->device_dpi.y = DisplayHeight(dpy, scr) * 25.4 / DisplayHeightMM(dpy, scr); firstjob->device_sets_dpi = TRUE; - initialized = TRUE; + initialized = true; } static void xlib_finalize(GVJ_t *firstjob)