diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-14 11:46:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-14 11:46:52 (GMT) |
commit | 5357570e1f8319ecea3ce3c930913200ebc485dd (patch) | |
tree | 5eb91720f2a780a9857925f899b41a90af702333 /generic/ttk | |
parent | d3accd1f1590ad5fd9a5bac5f611912c8dd9809c (diff) | |
parent | 953c81157e52a85fb0e0322336b34ee6367ea6d4 (diff) | |
download | tk-5357570e1f8319ecea3ce3c930913200ebc485dd.zip tk-5357570e1f8319ecea3ce3c930913200ebc485dd.tar.gz tk-5357570e1f8319ecea3ce3c930913200ebc485dd.tar.bz2 |
Merge 8.6. Make anchorStrings, reliefString and justifyString MODULE_SCOPE
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkEntry.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/ttk/ttkEntry.c b/generic/ttk/ttkEntry.c index 0069199..b0502a4 100644 --- a/generic/ttk/ttkEntry.c +++ b/generic/ttk/ttkEntry.c @@ -1396,10 +1396,10 @@ EntryIndex( if (idx == TCL_INDEX_NONE) { idx = 0; } else if (idx > entryPtr->entry.numChars) { - idx = entryPtr->entry.numChars; - } - *indexPtr = idx; - return TCL_OK; + idx = entryPtr->entry.numChars; + } + *indexPtr = idx; + return TCL_OK; } string = Tcl_GetStringFromObj(indexObj, &length); |