renaming a function for clarity

This commit is contained in:
tonton Th
2020-04-06 20:09:11 +02:00
parent dd9ac7c948
commit 22e16d2ba6
6 changed files with 11 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ extern int verbosity; /* must be declared around main() */
/*
* return 0 if images are compatibles
*/
int fimg_images_compatible(FloatImg *a, FloatImg *b)
int fimg_images_not_compatible(FloatImg *a, FloatImg *b)
{
#if DEBUG_LEVEL > 1
fprintf(stderr, ">>> %s ( %p %p )\n", __func__, a, b);

View File

@@ -194,7 +194,7 @@ int foo;
fprintf(stderr, ">>> %-25s ( %p %p )\n", __func__, from, to);
#endif
foo = fimg_images_compatible(from, to);
foo = fimg_images_not_compatible(from, to);
if (foo) {
fprintf(stderr, "%s: pics not compatible (%d)\n", __func__, foo);
return foo;

View File

@@ -46,13 +46,13 @@ fprintf(stderr, ">>> %s ( %p %p %p %f )\n", __func__,
s1, s2, d, coef);
#endif
foo = fimg_images_compatible(s1, s2);
foo = fimg_images_not_compatible(s1, s2);
if (foo) {
fprintf(stderr, "compat s1 s2 -> %d\n", foo);
return foo;
}
foo = fimg_images_compatible(s1, d);
foo = fimg_images_not_compatible(s1, d);
if (foo) {
fprintf(stderr, "compat s1 d -> %d\n", foo);
return foo;