Opened 9 years ago

Closed 9 years ago

#1483 closed Defect (Fixed)

When using 3 or a higher odd number of Emojis ChatCore runs into a bug...

Reported by: DerFlash Owned by: timothy
Component: Chat Core (IRC) Version: Local Build
Severity: Major Keywords: emoji smiley crash
Cc: bte@…


When using 3 or a higher odd number of Emojis ChatCore? runs into a bug which didn't let me send out the chat line(with Rooms).
Seems to crash mColloquy completely.
I took it down to the right line and fixed it so far:

NSStringAdditions.m:1323 (line may vary because of latest changes to the file):

else if ([self characterAtIndex:(emojiRange.location - 1)] == ' ' + else if ([self characterAtIndex:(emojiRange.location - 1)] == ' '
[self characterAtIndex:(emojiRange.location + 1)] == ' ')
(self.length > emojiRange.location + 1 && [self characterAtIndex:(emojiRange.location + 1)] == ' '))

Change History (1)

comment:1 Changed 9 years ago by kiji.roshi

  • Resolution set to fixed
  • Status changed from new to closed

r4243 Thanks for the patch!

Note: See TracTickets for help on using tickets.