mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[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:
parent
fc8cc0b703
commit
944a9253e9
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue