Mercurial > hg > dmlib
diff tools/lib64gfx.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 | d3bdaaae624f |
line wrap: on
line diff
--- a/tools/lib64gfx.c Sun Nov 19 04:02:18 2023 +0200 +++ b/tools/lib64gfx.c Sun Nov 19 18:33:52 2023 +0200 @@ -1533,7 +1533,7 @@ return DMERR_OUT_OF_DATA; dmGrowBufConstCopyOffs(&tmp, buf, probeOffs); - if (dmC64ProbeBMP(&tmp, fmt) == DM_PROBE_SCORE_false) + if (dmC64ProbeBMP(&tmp, fmt) == DM_PROBE_SCORE_FALSE) return DMERR_NOT_SUPPORTED; } @@ -1673,12 +1673,12 @@ // is found, pointer to format description is set to *pfmt. int dmC64ProbeBMP(const DMGrowBuf *buf, const DMC64ImageFormat **pfmt) { - int scoreMax = DM_PROBE_SCORE_false, scoreIndex = -1; + int scoreMax = DM_PROBE_SCORE_FALSE, scoreIndex = -1; for (int i = 0; i < ndmC64ImageFormats; i++) { const DMC64ImageFormat *fmt = &dmC64ImageFormats[i]; - int score = DM_PROBE_SCORE_false; + int score = DM_PROBE_SCORE_FALSE; if (fmt->probe == NULL && fmt->size > 0 && fmt->addr > 0) { // Generic probe just checks matching size and load address @@ -1702,7 +1702,7 @@ return scoreMax; } else - return DM_PROBE_SCORE_false; + return DM_PROBE_SCORE_FALSE; }