silly me. totally misused the result of PR_NewMutableString

This commit is contained in:
Bill Currie 2007-04-08 05:47:32 +00:00 committed by Jeff Teunissen
parent 593198ef65
commit 1cccd005fe

View file

@ -448,7 +448,7 @@ static void
PF_makestr (progs_t *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);
dstring_copystr (dst, src);