mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Merge remote-tracking branch 'kurogane/master'
This commit is contained in:
commit
7f551026f5
1 changed files with 3 additions and 4 deletions
|
@ -70,14 +70,13 @@ VISIBLE char *
|
|||
nva (const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
static dstring_t *string;
|
||||
dstring_t *string;
|
||||
|
||||
if (!string)
|
||||
string = dstring_new ();
|
||||
|
||||
va_start (args, fmt);
|
||||
dvsprintf (string, fmt, args);
|
||||
va_end (args);
|
||||
|
||||
return strdup (string->str);
|
||||
return dstring_freeze (string);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue