# HG changeset patch # User russes02 # Date 1340818618 14400 # Wed Jun 27 13:36:58 2012 -0400 # Node ID 71e00b895e372afbfe2244e97a6de5a6de9bc85a # Parent aa44efb58ae3f63601576a56fb9a06dc77ba2744 Fixes up exit message diff --git a/pdiff/main.go b/pdiff/main.go --- a/pdiff/main.go +++ b/pdiff/main.go @@ -53,7 +53,7 @@ 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: