mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
silly me. totally misused the result of PR_NewMutableString
This commit is contained in:
parent
593198ef65
commit
1cccd005fe
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ static void
|
||||||
PF_makestr (progs_t *pr)
|
PF_makestr (progs_t *pr)
|
||||||
{
|
{
|
||||||
string_t res = PR_NewMutableString (pr);
|
string_t res = PR_NewMutableString (pr);
|
||||||
dstring_t *dst = P_DSTRING (pr, res);
|
dstring_t *dst = PR_GetMutableString (pr, res);
|
||||||
const char *src = P_GSTRING (pr, 0);
|
const char *src = P_GSTRING (pr, 0);
|
||||||
|
|
||||||
dstring_copystr (dst, src);
|
dstring_copystr (dst, src);
|
||||||
|
|
Loading…
Reference in a new issue