From 947f0f8b52c4fa37e36f0e91da8d74faee9a5955 Mon Sep 17 00:00:00 2001 From: Dave Vernon Date: Thu, 1 Feb 2024 09:25:49 -0700 Subject: [PATCH] Revert inadvertent change. --- Source/GSString.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/GSString.m b/Source/GSString.m index eaf3d6b78..cd84bb21f 100644 --- a/Source/GSString.m +++ b/Source/GSString.m @@ -2710,7 +2710,7 @@ getCStringE_c(GSStr self, char *buffer, unsigned int maxLength, if (c > 127) { [NSException raise: NSCharacterConversionException - format: @"unable to convert to encoding (one)"]; + format: @"unable to convert to encoding"]; } buffer[i] = c; } @@ -2805,7 +2805,7 @@ getCStringE_u(GSStr self, char *buffer, unsigned int maxLength, { [NSException raise:NSCharacterConversionException - format:@"unable to convert to encoding (two)"]; + format:@"unable to convert to encoding"]; } buffer[i] = (char)u; } @@ -2831,7 +2831,7 @@ getCStringE_u(GSStr self, char *buffer, unsigned int maxLength, if (u & 0xff80) { [NSException raise: NSCharacterConversionException - format: @"unable to convert to encoding (three)"]; + format: @"unable to convert to encoding"]; } buffer[i] = (char)u; }