Skip to content

Commit

Permalink
Fix logic that was inadvertently inverted back in [295715a1b1b2c3d5]
Browse files Browse the repository at this point in the history
  • Loading branch information
pooryorick committed Aug 27, 2024
1 parent 2035165 commit d98be5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/tclStringObj.c
Original file line number Diff line number Diff line change
Expand Up @@ -3191,7 +3191,7 @@ TclStringCat(
binary = 0;
if (ov > objv+1 && ISCONTINUATION(TclGetString(objPtr))) {
forceUniChar = 1;
} else if ((objPtr->typePtr) && TclHasInternalRep(objPtr, &tclStringType)) {
} else if ((objPtr->typePtr) && !TclHasInternalRep(objPtr, &tclStringType)) {
/* Prevent shimmer of non-string types. */
allowUniChar = 0;
}
Expand Down

0 comments on commit d98be5f

Please sign in to comment.