Skip to content

Commit

Permalink
Clean up show instance for Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
mathstuf committed Apr 2, 2011
1 parent 7bb8426 commit 665255e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Graphics/Vty/Image.hs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ instance Show Image where
show ( VertJoin { part_top = t, part_bottom = b, output_width = c, output_height = r } )
= "VertJoin (" ++ show c ++ ", " ++ show r ++ ") ( " ++ show t ++ " ) <-> ( " ++ show b ++ " )"
show ( Translation offset i )
= "Translation ( " ++ show offset ++ ", " ++ show i ++ " )"
= "Translation " ++ show offset ++ " ( " ++ show i ++ " )"
show ( EmptyImage ) = "EmptyImage"

-- | Currently append in the Monoid instance is equivalent to <->. Future versions will just stack
Expand Down

0 comments on commit 665255e

Please sign in to comment.