summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-01-26 17:25:35 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-01-26 17:25:35 (GMT)
commitd9bac150627c28d4fab62f85a2696cc87911946d (patch)
tree15ce3971ac5ea04574a175555768d99991edde18 /generic/ttk
parentf97f966abdb154039f603a3cb313d31e022a9a89 (diff)
parent48ef3bc66f0806a4b54f4abb9888a5fc53e78d33 (diff)
downloadtk-d9bac150627c28d4fab62f85a2696cc87911946d.zip
tk-d9bac150627c28d4fab62f85a2696cc87911946d.tar.gz
tk-d9bac150627c28d4fab62f85a2696cc87911946d.tar.bz2
merge 8.5
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkNotebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkNotebook.c b/generic/ttk/ttkNotebook.c
index 551f4a6..dd757cb 100644
--- a/generic/ttk/ttkNotebook.c
+++ b/generic/ttk/ttkNotebook.c
@@ -902,7 +902,7 @@ static int NotebookAddCommand(
if (tab->state == TAB_STATE_HIDDEN) {
tab->state = TAB_STATE_NORMAL;
}
- if (ConfigureTab(interp, nb, tab, slaveWindow, objc-4,objv+4) != TCL_OK) {
+ if (ConfigureTab(interp, nb, tab, slaveWindow, objc-3,objv+3) != TCL_OK) {
return TCL_ERROR;
}