summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2003-07-17 01:02:47 (GMT)
committerhobbs <hobbs@noemail.net>2003-07-17 01:02:47 (GMT)
commitacb8b299c9fb8c9dd6a12917c4638fd592a0ecc5 (patch)
tree42c291d7b060550fc483b0fca17806321d918db1
parent5d1f2a25d4f3877527d05255e8accaa2bc2ccba7 (diff)
downloadtk-acb8b299c9fb8c9dd6a12917c4638fd592a0ecc5.zip
tk-acb8b299c9fb8c9dd6a12917c4638fd592a0ecc5.tar.gz
tk-acb8b299c9fb8c9dd6a12917c4638fd592a0ecc5.tar.bz2
* win/tkWinImage.c (XGetImage): correct init of biSizeImage in
bitmap header. [Bug 703697] (cap) FossilOrigin-Name: d6ab62a7a806b23e77fcc7358a62a820cd48f831
-rw-r--r--ChangeLog5
-rw-r--r--win/tkWinImage.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index de64aff..b2976e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-16 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * win/tkWinImage.c (XGetImage): correct init of biSizeImage in
+ bitmap header. [Bug 703697] (cap)
+
2003-07-17 Peter Spjuth <peter.spjuth@space.se>
* tests/frame.test:
diff --git a/win/tkWinImage.c b/win/tkWinImage.c
index 7ba9329..bb20a88 100644
--- a/win/tkWinImage.c
+++ b/win/tkWinImage.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinImage.c,v 1.6 2002/10/10 21:01:18 hobbs Exp $
+ * RCS: @(#) $Id: tkWinImage.c,v 1.6.2.1 2003/07/17 01:02:47 hobbs Exp $
*/
#include "tkWinInt.h"
@@ -621,7 +621,7 @@ XGetImage(display, d, x, y, width, height, plane_mask, format)
infoPtr->bmiHeader.biPlanes = 1;
infoPtr->bmiHeader.biBitCount = 1;
infoPtr->bmiHeader.biCompression = BI_RGB;
- infoPtr->bmiHeader.biCompression = 0;
+ infoPtr->bmiHeader.biSizeImage = 0;
infoPtr->bmiHeader.biXPelsPerMeter = 0;
infoPtr->bmiHeader.biYPelsPerMeter = 0;
infoPtr->bmiHeader.biClrUsed = 0;