From: knghtbrd Date: Fri, 5 Jul 2002 03:28:10 +0000 (+0000) Subject: Kill trigraphs. Die die die. Or something. X-Git-Tag: RELEASE_0_2_0_RC1~457 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=444342309adca329b3483ee873c14c874c9442e5;p=xonotic%2Fdarkplaces.git Kill trigraphs. Die die die. Or something. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1983 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/pr_edict.c b/pr_edict.c index 3b1a6b9d..bf351309 100644 --- a/pr_edict.c +++ b/pr_edict.c @@ -500,7 +500,7 @@ char *PR_GlobalString (int ofs) val = (void *)&pr_globals[ofs]; def = ED_GlobalAtOfs(ofs); if (!def) - sprintf (line,"%i(\?\?\?)", ofs); // LordHavoc: escaping the ?s so it is not a trigraph + sprintf (line,"%i(?)", ofs); else { s = PR_ValueString (def->type, val); @@ -523,7 +523,7 @@ char *PR_GlobalStringNoContents (int ofs) def = ED_GlobalAtOfs(ofs); if (!def) - sprintf (line,"%i(\?\?\?)", ofs); // LordHavoc: escaping the ?s so it is not a trigraph + sprintf (line,"%i(?)", ofs); else sprintf (line,"%i(%s)", ofs, pr_strings + def->s_name);