diff tools/lib64fmts.c @ 2599:c3c1d3c75f53

s/DM_PROBE_SCORE_false/DM_PROBE_SCORE_FALSE/g
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 19 Nov 2023 18:33:52 +0200
parents 353192a5100a
children 8b99ddcc9fde
line wrap: on
line diff
--- a/tools/lib64fmts.c	Sun Nov 19 04:02:18 2023 +0200
+++ b/tools/lib64fmts.c	Sun Nov 19 18:33:52 2023 +0200
@@ -19,7 +19,7 @@
         dmCompareAddr16(buf, 0, fmt->addr))
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -45,7 +45,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -78,7 +78,7 @@
             return DM_PROBE_SCORE_MAX;
     }
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -414,7 +414,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -498,7 +498,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -589,7 +589,7 @@
         buf->data[0x0c44 - 0x0801 + 2] == 0x14)
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -605,7 +605,7 @@
 
 static int fmtProbeKoalaPainter(const DMGrowBuf *buf, const DMC64ImageFormat *fmt)
 {
-    int score = DM_PROBE_SCORE_false;
+    int score = DM_PROBE_SCORE_FALSE;
 
     if (buf->len >= 10002 &&
         buf->len <= 10004)
@@ -626,7 +626,7 @@
         dmCompareAddr16(buf, 0, fmt->addr))
         return DM_PROBE_SCORE_GOOD;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -645,7 +645,7 @@
             return DM_PROBE_SCORE_MAX;
     }
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -655,7 +655,7 @@
         dmCompareAddr16(buf, 0, 0x2000))
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -718,7 +718,7 @@
         ))
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -790,7 +790,7 @@
         DM_MEMCMP_LEN(buf->data + 2, "DRAZLACE! 1.0") == 0)
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -835,7 +835,7 @@
         DM_MEMCMP_LEN(buf->data + 2, fmtBDP5_MagicID) == 0)
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -922,7 +922,7 @@
         memcmp(buf->data + fmtGunPaint_MagicOffs + 2, fmtGunPaint_MagicID, fmtGunPaint_MagicLen) == 0)
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -946,13 +946,13 @@
     size_t i, n;
 
     if (buf->len < 256 || !dmCompareAddr16(buf, 0, fmt->addr))
-        return DM_PROBE_SCORE_false;
+        return DM_PROBE_SCORE_FALSE;
 
     // Interpaint Hi-Res gives a false positive
     // as do some GunPaint images ..
     if (buf->len == 9002 ||
         fmtProbeGunPaint(buf, fmt) > DM_PROBE_SCORE_GOOD)
-        return DM_PROBE_SCORE_false;
+        return DM_PROBE_SCORE_FALSE;
 
     for (n = 0, i = 2; i < buf->len; i++)
         if (buf->data[i] == 0xC2) n++;
@@ -964,7 +964,7 @@
     if (n > 10)
         return DM_PROBE_SCORE_MAYBE;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1032,7 +1032,7 @@
         dmCompareAddr16(buf, 0, fmt->addr))
         return DM_PROBE_SCORE_GOOD;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1056,7 +1056,7 @@
         dmCompareAddr16(buf, 2 + 3, 0x7f3f))
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1176,7 +1176,7 @@
         DM_MEMCMP_SIZE(buf->data + 2, magicID) == 0)
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1390,7 +1390,7 @@
         dmCompareAddr16(buf, 0, fmt->addr))
         return DM_PROBE_SCORE_MAYBE;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1427,7 +1427,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1444,7 +1444,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1461,7 +1461,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1500,7 +1500,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1524,7 +1524,7 @@
         )
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1550,7 +1550,7 @@
         }
     }
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1659,7 +1659,7 @@
             return DM_PROBE_SCORE_MAX;
     }
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -1856,7 +1856,7 @@
         DM_MEMCMP_SIZE(buf->data + buf->len - sizeof(fmtCrestSHFLI_MagicID_Packed), fmtCrestSHFLI_MagicID_Packed) == 0)
         return DM_PROBE_SCORE_MAX;
 
-    return DM_PROBE_SCORE_false;
+    return DM_PROBE_SCORE_FALSE;
 }
 
 
@@ -2115,7 +2115,7 @@
 
 static int fmtProbeECIPacked(const DMGrowBuf *buf, const DMC64ImageFormat *fmt)
 {
-    int score = DM_PROBE_SCORE_false;
+    int score = DM_PROBE_SCORE_FALSE;
 
     if (buf->len > 128 &&
         dmCompareAddr16(buf, 0, fmt->addr))