summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-02 15:06:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-02-02 15:06:48 (GMT)
commit1453df7a69c6f0900422a24d1d6b4f66f4540907 (patch)
treedd027abccdb1634110172d3da5a9f607b5e87654 /generic/tkText.c
parent8f813a4ff086f23a9c18c5ebc7aea9e74731573b (diff)
downloadtk-1453df7a69c6f0900422a24d1d6b4f66f4540907.zip
tk-1453df7a69c6f0900422a24d1d6b4f66f4540907.tar.gz
tk-1453df7a69c6f0900422a24d1d6b4f66f4540907.tar.bz2
Change textPtr parameter of TkTextGetTabs to a "const"
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 4b31ec4..867e878 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -4496,7 +4496,7 @@ TextSearchFoundMatch(
TkTextTabArray *
TkTextGetTabs(
Tcl_Interp *interp, /* Used for error reporting. */
- TkText *textPtr, /* Information about the text widget. */
+ const TkText *textPtr, /* Information about the text widget. */
Tcl_Obj *stringPtr) /* Description of the tab stops. See the text
* manual entry for details. */
{