Mercurial > hg > dmlib
diff tools/libgfx.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 | 9807ae37ad69 |
children |
line wrap: on
line diff
--- a/tools/libgfx.c Sun Nov 19 04:02:18 2023 +0200 +++ b/tools/libgfx.c Sun Nov 19 18:33:52 2023 +0200 @@ -326,7 +326,7 @@ buf[0x300] == 0) return DM_PROBE_SCORE_MAX; - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; } @@ -395,7 +395,7 @@ if (len == 0x300) return DM_PROBE_SCORE_MAX; - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; } @@ -1033,7 +1033,7 @@ (buf[1] == '5' || buf[1] == '6')) return DM_PROBE_SCORE_MAX; - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; } @@ -1051,7 +1051,7 @@ return DM_PROBE_SCORE_GOOD; } - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; } @@ -1436,7 +1436,7 @@ buf[65] >= 1 && buf[65] <= 4) return DM_PROBE_SCORE_GOOD; - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; } @@ -2040,7 +2040,7 @@ return DM_PROBE_SCORE_GOOD; } - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; } @@ -3055,7 +3055,7 @@ int dmImageProbeGeneric(const Uint8 *buf, const size_t len, const DMImageFormat **pfmt, int *index) { - int scoreMax = DM_PROBE_SCORE_false, scoreIndex = -1; + int scoreMax = DM_PROBE_SCORE_FALSE, scoreIndex = -1; for (int i = 0; i < ndmImageFormatList; i++) { @@ -3078,7 +3078,7 @@ return scoreMax; } else - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; } @@ -3104,7 +3104,7 @@ int dmPaletteProbeGeneric(const Uint8 *buf, const size_t len, const DMPaletteFormat **pfmt, int *index) { - int scoreMax = DM_PROBE_SCORE_false, scoreIndex = -1; + int scoreMax = DM_PROBE_SCORE_FALSE, scoreIndex = -1; for (int i = 0; i < ndmPaletteFormatList; i++) { @@ -3127,5 +3127,5 @@ return scoreMax; } else - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; }