summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvas.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-12-24 13:24:47 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-12-24 13:24:47 (GMT)
commitef83d456ae8d36339b13f6b426f9410fb3e750aa (patch)
tree196d75368a74d09724897a3a02a55b3ec5d3ce20 /generic/tkCanvas.c
parent24d5264e2ac5971cf61105b3b3aedc000d8c8051 (diff)
downloadtk-ef83d456ae8d36339b13f6b426f9410fb3e750aa.zip
tk-ef83d456ae8d36339b13f6b426f9410fb3e750aa.tar.gz
tk-ef83d456ae8d36339b13f6b426f9410fb3e750aa.tar.bz2
Restore tabs on lines that were actually not changed by the fix.
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r--generic/tkCanvas.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 9f57971..5e89c6d 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -1449,8 +1449,8 @@ CanvasWidgetCmd(
tag = Tk_GetUid(Tcl_GetString(objv[2]));
}
FOR_EVERY_CANVAS_ITEM_MATCHING(objv[2], &searchPtr, goto done) {
- for (i = itemPtr->numTags-1; i >= 0; i--) {
- if (itemPtr->tagPtr[i] == tag) {
+ for (i = itemPtr->numTags-1; i >= 0; i--) {
+ if (itemPtr->tagPtr[i] == tag) {
/*
* Don't shuffle the tags sequence: memmove the tags.
@@ -1459,15 +1459,15 @@ CanvasWidgetCmd(
memmove((void *)(itemPtr->tagPtr + i),
(void *)(itemPtr->tagPtr + i + 1),
sizeof(Tk_Uid *) * (itemPtr->numTags - (i+1)));
- itemPtr->numTags--;
+ itemPtr->numTags--;
/*
* There must be no break here: all tags with the same name must
* be deleted.
*/
- }
- }
+ }
+ }
}
break;
}