From 4856d406c2f6f07a24a5f5d11e7fc87e1b5ef253 Mon Sep 17 00:00:00 2001 From: das Date: Mon, 19 Jan 2009 14:00:06 +0000 Subject: fix typo that led to crashes --- generic/tkImgPhoto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index 3609af8..545e768 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.90 2009/01/14 22:48:10 nijtmans Exp $ + * RCS: @(#) $Id: tkImgPhoto.c,v 1.91 2009/01/19 14:00:06 das Exp $ */ #include "tkImgPhoto.h" @@ -2863,9 +2863,9 @@ Tk_PhotoPutBlock( */ if (!(masterPtr->flags & COMPLEX_ALPHA)) { - register unsigned int x1; + register int x1; - for (x1=x ; xpix32 + (y*masterPtr->width + x1)*4; -- cgit v0.12