forked from tTh/FloatImg
renaming a function for clarity
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user