From 444342309adca329b3483ee873c14c874c9442e5 Mon Sep 17 00:00:00 2001 From: knghtbrd Date: Fri, 5 Jul 2002 03:28:10 +0000 Subject: [PATCH] Kill trigraphs. Die die die. Or something. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1983 d7cf8633-e32d-0410-b094-e92efae38249 --- pr_edict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2