The strings used in withCWStringLen are (despite the incorrect comment) supposed to come equipped with length, but no NUL at the end (in particular nothing is allocated for an empty string). Fortunately, here the length suffices. See http://hackage.haskell.org/trac/ghc/ticket/5396 and coreyoconnor#14 (comment)
Recovers most of the performance lost with 126.96.36.199.
…dev/integration * dev/fix-translate: Return the new number of columns to skip as well Fix indentation Return the number of rows to skip after rendering Clean up show instance for Translation Fix drawing to incorporate translation Proper image size of a translation * dev/add-cropped-images: Modify dimensions when padding a padded image Just modify dimensions when cropping pads or crops Use Word instead of Int for the dimension type Add padded image ctor and related code Use the proper index for the height Improve show instance for ImageCrop Add operation for cropping an image to size Conflicts: src/Graphics/Vty/Image.hs src/Graphics/Vty/Span.hs