1
0
Fork 0

Codechange: use args.GetParam(offset) over *args.GetPointerToOffset(offset)

pull/11031/head
Rubidium 2023-06-17 23:27:15 +02:00 committed by rubidium42
parent e404ba0631
commit 4e6733cc6e
1 changed files with 1 additions and 1 deletions

View File

@ -1064,7 +1064,7 @@ static void FormatString(StringBuilder &builder, const char *str_arg, StringPara
case SCC_PLURAL_LIST: { // {P}
int plural_form = *str++; // contains the plural form for this string
uint offset = orig_offset + (byte)*str++;
int64 v = *args.GetPointerToOffset(offset); // contains the number that determines plural
int64 v = args.GetParam(offset); // contains the number that determines plural
str = ParseStringChoice(str, DeterminePluralForm(v, plural_form), builder);
break;
}