summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvUtil.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-02-22 00:39:12 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-02-22 00:39:12 (GMT)
commit84e79803ca30318a9edf7d6184a4e918b6f22fdc (patch)
treebca6942effd32fec3d16de38aff132b0228da2b4 /generic/tkCanvUtil.c
parent365f0de4d59abd99adf372a79711cc5ddcf52c70 (diff)
downloadtk-84e79803ca30318a9edf7d6184a4e918b6f22fdc.zip
tk-84e79803ca30318a9edf7d6184a4e918b6f22fdc.tar.gz
tk-84e79803ca30318a9edf7d6184a4e918b6f22fdc.tar.bz2
[ab6dab8393] OBOE in loop termination made corrupt dash lines in ps output.
Diffstat (limited to 'generic/tkCanvUtil.c')
-rw-r--r--generic/tkCanvUtil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvUtil.c b/generic/tkCanvUtil.c
index 23c73e5..cbbc2b4 100644
--- a/generic/tkCanvUtil.c
+++ b/generic/tkCanvUtil.c
@@ -1432,7 +1432,7 @@ Tk_CanvasPsOutline(
char *p = ptr;
converted = Tcl_ObjPrintf("%d", *p++ & 0xff);
- for (i = dash->number-1 ; i>=0 ; i--) {
+ for (i = dash->number-1 ; i>0 ; i--) {
Tcl_AppendPrintfToObj(converted, " %d", *p++ & 0xff);
}
Tcl_AppendObjToObj(psObj, converted);