on master help sign in
Improve show instance for ImageCrop
commitad661a02e06eb58304cc13dd34b5ecff96a30f7e authorBen Boeckel <MathStuf@gmail.com> dateSat 2 Apr 2011, 00:21 (16 years ago) parent9b5dd97
1 file changed+1−1
src/Graphics/Vty/Image.hs+1−1
src/Graphics/Vty/Image.hs+1−1
@@ -116,7 +116,7 @@ instance Show Image where
116116 show ( Translation offset i )
117117 = "Translation ( " ++ show offset ++ ", " ++ show i ++ " )"
118118 show ( ImageCrop size i )
119− = "ImageCrop ( " ++ show size ++ ", " ++ show i ++ " )"
119+ = "ImageCrop " ++ show size ++ " ( " ++ show i ++ " )"
120120 show ( EmptyImage ) = "EmptyImage"
121121
122122-- | Currently append in the Monoid instance is equivalent to <->. Future versions will just stack