]> git.saurik.com Git - wxWidgets.git/commit - src/common/imagtiff.cpp
Fixed accessing out-of-bounds image coordinates while writing a black and white TIFF...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 28 Aug 2011 21:49:28 +0000 (21:49 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 28 Aug 2011 21:49:28 +0000 (21:49 +0000)
commitf2de33ede42de733a5cf3ab59dcd1c848165c7d4
treecfa295cca942917bff902968aa697eaf996178ea
parent649df4bff86bf8b82a8bdb1c44b06d570b612028
Fixed accessing out-of-bounds image coordinates while writing a black and white TIFF image.

The code assumed that the image's width is a multiple of 8, and attempted to always write per 8 pixels instead of sometimes having to write fewer pixels for the last column.

Also fixed compilo from previous commit due to not removing old code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/imagtiff.cpp