Skip to content

Commit

Permalink
Revert inadvertent change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Vernon committed Feb 1, 2024
1 parent f7eff46 commit 947f0f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/GSString.m
Original file line number Diff line number Diff line change
Expand Up @@ -2710,7 +2710,7 @@ - (id) retain
if (c > 127)
{
[NSException raise: NSCharacterConversionException
format: @"unable to convert to encoding (one)"];
format: @"unable to convert to encoding"];
}
buffer[i] = c;
}
Expand Down Expand Up @@ -2805,7 +2805,7 @@ - (id) retain
{
[NSException
raise:NSCharacterConversionException
format:@"unable to convert to encoding (two)"];
format:@"unable to convert to encoding"];
}
buffer[i] = (char)u;
}
Expand All @@ -2831,7 +2831,7 @@ - (id) retain
if (u & 0xff80)
{
[NSException raise: NSCharacterConversionException
format: @"unable to convert to encoding (three)"];
format: @"unable to convert to encoding"];
}
buffer[i] = (char)u;
}
Expand Down

0 comments on commit 947f0f8

Please sign in to comment.