summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-03-16 00:38:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-03-16 00:38:42 (GMT)
commitf8fd871f4aef621bf38e7f3cb69ea6463da46554 (patch)
tree2b21b33d76ab1ffc2ef00ea496dfa74f2679cf43
parent035d55b64a22b761ad0d0cfb21b90c84497044ec (diff)
downloadtk-f8fd871f4aef621bf38e7f3cb69ea6463da46554.zip
tk-f8fd871f4aef621bf38e7f3cb69ea6463da46554.tar.gz
tk-f8fd871f4aef621bf38e7f3cb69ea6463da46554.tar.bz2
D'oh!
-rw-r--r--generic/tkImgPhoto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 83f5237..e1ca874 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -17,7 +17,7 @@
* Department of Computer Science,
* Australian National University.
*
- * RCS: @(#) $Id: tkImgPhoto.c,v 1.62 2006/03/16 00:31:13 dkf Exp $
+ * RCS: @(#) $Id: tkImgPhoto.c,v 1.63 2006/03/16 00:38:42 dkf Exp $
*/
#include "tkInt.h"
@@ -4712,6 +4712,7 @@ Tk_PhotoPutZoomedBlock(
}
sourceIsSimplePhoto = compRule & SOURCE_IS_SIMPLE_ALPHA_PHOTO;
+ compRule &= ~SOURCE_IS_SIMPLE_ALPHA_PHOTO;
masterPtr = (PhotoMaster *) handle;
if (zoomX <= 0 || zoomY <= 0) {