diff options
author | dgp <dgp@users.sourceforge.net> | 2015-02-22 00:39:12 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-02-22 00:39:12 (GMT) |
commit | fdcfa0f0bcbffc5d51687d791e1377ade0577138 (patch) | |
tree | bca6942effd32fec3d16de38aff132b0228da2b4 | |
parent | f7523e65e48c4bc88a490df4bef313af34e0251e (diff) | |
download | tk-fdcfa0f0bcbffc5d51687d791e1377ade0577138.zip tk-fdcfa0f0bcbffc5d51687d791e1377ade0577138.tar.gz tk-fdcfa0f0bcbffc5d51687d791e1377ade0577138.tar.bz2 |
[ab6dab8393] OBOE in loop termination made corrupt dash lines in ps output.
-rw-r--r-- | generic/tkCanvUtil.c | 2 |
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); |