mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
[gamecode] Accept EOS at end of conversion specifier
This commit is contained in:
parent
17bb408b57
commit
7f4d2215e2
1 changed files with 5 additions and 1 deletions
|
@ -1073,7 +1073,11 @@ fmt_state_conversion (fmt_state_t *state)
|
|||
fmt_append_item (state);
|
||||
break;
|
||||
}
|
||||
state->state = fmt_state_format;
|
||||
if (*state->c) {
|
||||
state->state = fmt_state_format;
|
||||
} else {
|
||||
state->state = 0; // finished
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue