[gamecode] Support %u format in PR_Sprintf

Not sure why it was missed as it would have been useful even before
unsigned was properly supported by qfcc.
This commit is contained in:
Bill Currie 2022-02-12 01:58:38 +09:00
parent fc8cc0b703
commit 944a9253e9

View file

@ -1132,8 +1132,9 @@ fmt_state_conversion (fmt_state_t *state)
state->fmt_count++;
fmt_append_item (state);
break;
case 'u':
case 'x':
// integer, hex notation
// integer, unsigned or hex notation
(*state->fi)->type = conv;
(*state->fi)->data.uinteger_var = P_UINT (pr, state->fmt_count);