]> granicus.if.org Git - graphviz/commitdiff
gvdevice_finalize: use a C99 bool for local 'finalized_p'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 11 Jan 2022 04:58:06 +0000 (20:58 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 12 Jan 2022 01:19:33 +0000 (17:19 -0800)
lib/gvc/gvdevice.c

index 4f6b2ebcb10230907495bd686b08e6c668598363..e98992dbf96bfaa6c45464b3be0146ed227cdc28 100644 (file)
@@ -336,7 +336,7 @@ void gvdevice_format(GVJ_t * job)
 void gvdevice_finalize(GVJ_t * job)
 {
     gvdevice_engine_t *gvde = job->device.engine;
-    boolean finalized_p = FALSE;
+    bool finalized_p = false;
 
     if (job->flags & GVDEVICE_COMPRESSED_FORMAT) {
 #ifdef HAVE_LIBZ
@@ -383,7 +383,7 @@ void gvdevice_finalize(GVJ_t * job)
     if (gvde) {
        if (gvde->finalize) {
            gvde->finalize(job);
-           finalized_p = TRUE;
+           finalized_p = true;
        }
     }