~ubuntu-branches/ubuntu/wily/tk8.6/wily

« back to all changes in this revision

Viewing changes to generic/tkTextTag.c

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2013-10-05 11:59:47 UTC
  • mfrom: (8.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20131005115947-fuy2i0zetr6iuyn3
Added the libtk8.6-dbg package with libtk8.6 debug symbols in it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
        return TCL_ERROR;
149
149
    }
150
150
 
151
 
    if (Tcl_GetIndexFromObj(interp, objv[2], tagOptionStrings,
152
 
            "tag option", 0, &optionIndex) != TCL_OK) {
 
151
    if (Tcl_GetIndexFromObjStruct(interp, objv[2], tagOptionStrings,
 
152
            sizeof(char *), "tag option", 0, &optionIndex) != TCL_OK) {
153
153
        return TCL_ERROR;
154
154
    }
155
155
 
289
289
                    textPtr->sharedTextPtr->bindingTable,
290
290
                    (ClientData) tagPtr->name, Tcl_GetString(objv[4]));
291
291
            if (command == NULL) {
292
 
                const char *string = Tcl_GetStringResult(interp);
 
292
                const char *string = Tcl_GetString(Tcl_GetObjResult(interp));
293
293
 
294
294
                /*
295
295
                 * Ignore missing binding errors. This is a special hack that