Skip to content

Commit

Permalink
sigh :rolleyes:
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalPineapple committed Jun 13, 2024
1 parent 62c1376 commit d39f140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlueprintUICommonControls/Sources/AttributedLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ extension AttributedLabel {
offsetBy: insertionString.count,
limitedBy: label.endIndex
)
if insertionEnd != nil && label[insertionPoint...(insertionEnd ?? insertionPoint)] == insertionString {
if insertionEnd != nil && label[insertionPoint..<(insertionEnd ?? insertionPoint)] == insertionString {
continue
}
label.insert(contentsOf: insertionString, at: insertionPoint)
Expand Down

0 comments on commit d39f140

Please sign in to comment.