who's idea were these things?

This commit is contained in:
Bill Currie 2001-07-01 23:59:01 +00:00
parent 8dca32f27d
commit 12b4f480c6

View file

@ -408,7 +408,7 @@ char *PR_GlobalString (int ofs)
val = (void *)&pr_globals[ofs]; val = (void *)&pr_globals[ofs];
def = ED_GlobalAtOfs(ofs); def = ED_GlobalAtOfs(ofs);
if (!def) if (!def)
snprintf (line, sizeof(line), "%i(???)", ofs); snprintf (line, sizeof(line), "%i(\?\?\?)", ofs);
else else
{ {
s = PR_ValueString (def->type, val); s = PR_ValueString (def->type, val);
@ -431,7 +431,7 @@ char *PR_GlobalStringNoContents (int ofs)
def = ED_GlobalAtOfs(ofs); def = ED_GlobalAtOfs(ofs);
if (!def) if (!def)
snprintf (line, sizeof(line), "%i(???)", ofs); snprintf (line, sizeof(line), "%i(\?\?\?)", ofs);
else else
snprintf (line, sizeof(line), "%i(%s)", ofs, pr_strings + def->s_name); snprintf (line, sizeof(line), "%i(%s)", ofs, pr_strings + def->s_name);