summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-22 15:45:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-22 15:45:38 (GMT)
commitfb2df9548f0580531d0597a2dd62d93f17104cec (patch)
treeff704a05c6c5e181ca2826eeab3fdd0e40853b69 /generic/tkText.c
parent9ad951406b16aac72049cd90ba9f7ad7678ea7d7 (diff)
downloadtk-fb2df9548f0580531d0597a2dd62d93f17104cec.zip
tk-fb2df9548f0580531d0597a2dd62d93f17104cec.tar.gz
tk-fb2df9548f0580531d0597a2dd62d93f17104cec.tar.bz2
Some more places where Tcl_Obj's can be usedscrollbar_obj_cmd
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 2c7eec3..9c436c6 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -6675,11 +6675,7 @@ TkpTesttextCmd(
if (Tcl_GetCommandInfo(interp, argv[1], &info) == 0) {
return TCL_ERROR;
}
- if (info.isNativeObjectProc) {
- textPtr = info.objClientData;
- } else {
- textPtr = info.clientData;
- }
+ textPtr = info.objClientData;
len = strlen(argv[2]);
if (strncmp(argv[2], "byteindex", len) == 0) {
if (argc != 5) {