# HG changeset patch # User ludde # Date 1121286952 0 # Node ID 56c0c2882ae878c9c0fd1ced4e5605d4d6868717 # Parent e369160ce2f3a300f7a573d1f8118302a5ea72c3 (svn r2561) Fix: Remove {COMMA16} and {COMMA8}. Those are not needed anymore. diff -r e369160ce2f3 -r 56c0c2882ae8 strgen/strgen.c --- a/strgen/strgen.c Wed Jul 13 19:51:31 2005 +0000 +++ b/strgen/strgen.c Wed Jul 13 20:35:52 2005 +0000 @@ -238,9 +238,10 @@ // 0x7B=123 is the LAST special character we may use. // Numbers - {"COMMA32", EmitSingleByte, 0x7B}, - {"COMMA16", EmitSingleByte, 0x7C}, - {"COMMA8", EmitSingleByte, 0x7D}, + {"COMMA32", EmitSingleByte, 0x7B}, // These all do the same thing nowadays + {"COMMA16", EmitSingleByte, 0x7B}, + {"COMMA8", EmitSingleByte, 0x7B}, + {"NUMU16", EmitSingleByte, 0x7E}, {"CURRENCY", EmitSingleByte, 0x7F}, diff -r e369160ce2f3 -r 56c0c2882ae8 strings.c --- a/strings.c Wed Jul 13 19:51:31 2005 +0000 +++ b/strings.c Wed Jul 13 20:35:52 2005 +0000 @@ -413,10 +413,8 @@ buff = FormatCommaNumber(buff, GetParamInt32()); break; case 0x7C: // {COMMA16} - buff = FormatCommaNumber(buff, GetParamInt16()); - break; case 0x7D: // {COMMA8} - buff = FormatCommaNumber(buff, GetParamInt8()); + assert(0); break; case 0x7E: // {NUMU16} buff = FormatNoCommaNumber(buff, GetParamInt16());