71e00b895e37 — russes02 12 years ago
Fixes up exit message
1 files changed, 1 insertions(+), 1 deletions(-)

M pdiff/main.go
M pdiff/main.go +1 -1
@@ 53,7 53,7 @@ func main() {
 	case pdiff.BINARY_IDENTICAL:
 		fmt.Println("images are binary identical")
 	case pdiff.DIMENSION_MISMATCH:
-		fmt.Println("image dimensions do not match: %v, %v", args.ImgA.Bounds(), args.ImgB.Bounds())
+		fmt.Printf("image dimensions do not match: (%d, %d)\n", args.ImgA.Bounds().Dx(), args.ImgB.Bounds().Dy())
 	case pdiff.PERCEPTUALLY_INDISTINGUISHABLE:
 		fmt.Printf("images are perceptually indistinguishable; %d pixels differ\n", args.Differing)
 	case pdiff.VISIBLY_DIFFERENT: