]> granicus.if.org Git - graphviz/commitdiff
jpeg_size: use C99 'true' in loop condition
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 17 Nov 2021 03:34:13 +0000 (19:34 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Nov 2021 01:09:39 +0000 (17:09 -0800)
lib/gvc/gvusershape.c

index 4d00cdc3996fb1ced84acf3fd07b7e7f0007d0d3..3e316efb3ff330b886236993cb68dcd02c633f31 100644 (file)
@@ -352,7 +352,7 @@ static void jpeg_size (usershape_t *us) {
     };
 
     us->dpi = 0;
-    while (TRUE) {
+    while (true) {
         /* Now we must be at a 0xff or at a series of 0xff's.
          * If that is not the case, or if we're at EOF, then there's
          * a parsing error.