diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2004-10-26 14:07:57 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2004-10-26 14:07:57 (GMT) |
commit | 1742f8cc8c8f686b2006e8325f5dc40928da6d62 (patch) | |
tree | e525f14e2f7165283f3bc93a52ddd641eff8721f /win | |
parent | b646dee7570b4d082ceac3d8a05e48f45eacbfc5 (diff) | |
download | tk-1742f8cc8c8f686b2006e8325f5dc40928da6d62.zip tk-1742f8cc8c8f686b2006e8325f5dc40928da6d62.tar.gz tk-1742f8cc8c8f686b2006e8325f5dc40928da6d62.tar.bz2 |
* win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax error
* generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars.
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinRegion.c | 4 |
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++; |