summaryrefslogtreecommitdiff
path: root/test/pdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-12-14 03:16:18 -0800
committerCarl Worth <cworth@cworth.org>2006-12-14 07:58:01 -0800
commit871aba6c80b8f3101eac51cc055ad9ca26770a95 (patch)
treec90fc9c8bcd130d6afa8c483ef267eba7722873b /test/pdiff
parent2174ee247554feef6a24792390d858b12fd44acd (diff)
pdiff: Fix return value from perceptualdiff program
Diffstat (limited to 'test/pdiff')
-rw-r--r--test/pdiff/PerceptualDiff.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pdiff/PerceptualDiff.cpp b/test/pdiff/PerceptualDiff.cpp
index 04b9e45e..41aea792 100644
--- a/test/pdiff/PerceptualDiff.cpp
+++ b/test/pdiff/PerceptualDiff.cpp
@@ -94,6 +94,5 @@ int main(int argc, char **argv)
} else {
if (args.Verbose) args.Print_Args();
}
- int result = Yee_Compare(args) == true;
- return result;
+ return ! Yee_Compare(args);
}