summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2004-10-26 14:07:57 (GMT)
committerpatthoyts <patthoyts@noemail.net>2004-10-26 14:07:57 (GMT)
commite1da07c72484d8f9057ebb9842e30ec7bcd9697b (patch)
treee525f14e2f7165283f3bc93a52ddd641eff8721f /win
parent6b893354bd32396944cd5b04c39156277301aca0 (diff)
downloadtk-e1da07c72484d8f9057ebb9842e30ec7bcd9697b.zip
tk-e1da07c72484d8f9057ebb9842e30ec7bcd9697b.tar.gz
tk-e1da07c72484d8f9057ebb9842e30ec7bcd9697b.tar.bz2
* win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax error
* generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars. FossilOrigin-Name: fa8e785e87aaf62b9fa30f88f68520fce2f0b5f5
Diffstat (limited to 'win')
-rw-r--r--win/tkWinRegion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinRegion.c b/win/tkWinRegion.c
index 27a74b5..c3914e2 100644
--- a/win/tkWinRegion.c
+++ b/win/tkWinRegion.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: tkWinRegion.c,v 1.4 2004/10/26 13:15:09 dkf Exp $
+ * RCS: @(#) $Id: tkWinRegion.c,v 1.5 2004/10/26 14:07:57 patthoyts Exp $
*/
#include "tkWinInt.h"
@@ -179,7 +179,7 @@ TkpBuildRegionFromAlphaData(region, x, y, width, height, dataPtr,
for (y1 = 0; y1 < height; y1++) {
lineDataPtr = dataPtr;
- for {x1 = 0; x1 < width; x1 = end) {
+ for (x1 = 0; x1 < width; x1 = end) {
/* search for first non-transparent pixel */
while ((x1 < width) && !*lineDataPtr) {
x1++;