mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Revert inadvertent change.
This commit is contained in:
parent
f7eff46e86
commit
947f0f8b52
1 changed files with 3 additions and 3 deletions
|
@ -2710,7 +2710,7 @@ getCStringE_c(GSStr self, char *buffer, unsigned int maxLength,
|
||||||
if (c > 127)
|
if (c > 127)
|
||||||
{
|
{
|
||||||
[NSException raise: NSCharacterConversionException
|
[NSException raise: NSCharacterConversionException
|
||||||
format: @"unable to convert to encoding (one)"];
|
format: @"unable to convert to encoding"];
|
||||||
}
|
}
|
||||||
buffer[i] = c;
|
buffer[i] = c;
|
||||||
}
|
}
|
||||||
|
@ -2805,7 +2805,7 @@ getCStringE_u(GSStr self, char *buffer, unsigned int maxLength,
|
||||||
{
|
{
|
||||||
[NSException
|
[NSException
|
||||||
raise:NSCharacterConversionException
|
raise:NSCharacterConversionException
|
||||||
format:@"unable to convert to encoding (two)"];
|
format:@"unable to convert to encoding"];
|
||||||
}
|
}
|
||||||
buffer[i] = (char)u;
|
buffer[i] = (char)u;
|
||||||
}
|
}
|
||||||
|
@ -2831,7 +2831,7 @@ getCStringE_u(GSStr self, char *buffer, unsigned int maxLength,
|
||||||
if (u & 0xff80)
|
if (u & 0xff80)
|
||||||
{
|
{
|
||||||
[NSException raise: NSCharacterConversionException
|
[NSException raise: NSCharacterConversionException
|
||||||
format: @"unable to convert to encoding (three)"];
|
format: @"unable to convert to encoding"];
|
||||||
}
|
}
|
||||||
buffer[i] = (char)u;
|
buffer[i] = (char)u;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue