Revert unintended changes in 1b08fb4

Change `FORMAT_uint16_t` back to `FORMAT_UINT16`
This commit is contained in:
Ted John 2018-06-20 21:42:36 +01:00
parent f79954bde3
commit b80913df08
3 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ const encoding_convert_entry RCT2ToUnicodeTable[256] =
{ 124, FORMAT_INT32 },
{ 125, FORMAT_COMMA2DP32 },
{ 126, FORMAT_COMMA16 },
{ 127, FORMAT_uint16_t },
{ 127, FORMAT_UINT16 },
{ 128, FORMAT_CURRENCY2DP },
{ 129, FORMAT_CURRENCY },
{ 130, FORMAT_STRINGID },

View File

@ -58,7 +58,7 @@ enum {
FORMAT_INT32,
FORMAT_COMMA2DP32,
FORMAT_COMMA16,
FORMAT_uint16_t,
FORMAT_UINT16,
FORMAT_CURRENCY2DP,
FORMAT_CURRENCY,
FORMAT_STRINGID,

View File

@ -936,7 +936,7 @@ static void format_string_code(uint32_t format_code, char **dest, size_t *size,
format_comma_separated_integer(dest, size, value);
break;
case FORMAT_uint16_t:
case FORMAT_UINT16:
// Pop argument
value = *((uint16_t*)*args);
*args += 2;