Skip to content

Commit

Permalink
fix(SquirrelPanel): label format after candidate repeats label before,
Browse files Browse the repository at this point in the history
…Closes #489
  • Loading branch information
lotem committed Jan 30, 2021
1 parent 4fa011c commit d2c3410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SquirrelPanel.m
Original file line number Diff line number Diff line change
Expand Up @@ -1096,8 +1096,8 @@ - (void)showPreedit:(NSString *)preedit
labelString2 = [NSString stringWithFormat:labelFormat2, labelCharacter];
} else {
// default: 1. 2. 3...
labelFormat2 = [labelFormat stringByReplacingOccurrencesOfString:@"%c" withString:@"%lu"];
labelString2 = [NSString stringWithFormat:labelFormat, i+1];
labelFormat2 = [labelFormat2 stringByReplacingOccurrencesOfString:@"%c" withString:@"%lu"];
labelString2 = [NSString stringWithFormat:labelFormat2, i+1];
}
[line appendAttributedString:
[[NSAttributedString alloc]
Expand Down

0 comments on commit d2c3410

Please sign in to comment.