From 600e6dac57d7830c1af20b3444ccb116273ae20b Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 7 Dec 2000 17:08:38 +0000 Subject: [PATCH] remove possible trigraphs (eww) --- source/cmd.c | 2 +- source/gl_draw.c | 2 +- source/menu.c | 2 +- source/net_chan.c | 2 +- source/pr_edict.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/cmd.c b/source/cmd.c index 04fc7eb..8d3d83d 100644 --- a/source/cmd.c +++ b/source/cmd.c @@ -378,7 +378,7 @@ void Cmd_Exec_f (void) return; } - // FIXME: is this safe freeing the hunk here??? + // FIXME: is this safe freeing the hunk here? mark = Hunk_LowMark (); f = (char *)COM_LoadHunkFile (Cmd_Argv(1)); if (!f) diff --git a/source/gl_draw.c b/source/gl_draw.c index ddb796c..8fef992 100644 --- a/source/gl_draw.c +++ b/source/gl_draw.c @@ -358,7 +358,7 @@ static void Draw_TextureMode_f (void) Con_Printf ("%s\n", modes[i].name); return; } - Con_Printf ("current filter is unknown???\n"); + Con_Printf ("current filter is unknown?\n"); return; } diff --git a/source/menu.c b/source/menu.c index bd29917..ead24f1 100644 --- a/source/menu.c +++ b/source/menu.c @@ -751,7 +751,7 @@ void M_Keys_Draw (void) if (keys[0] == -1) { - M_Print (140, y, "???"); + M_Print (140, y, "?" "?" "?"); //avoid any possibility of trigraphs } else { diff --git a/source/net_chan.c b/source/net_chan.c index a68204e..5f06b7f 100644 --- a/source/net_chan.c +++ b/source/net_chan.c @@ -176,7 +176,7 @@ Sends a text message in an out-of-band datagram void Netchan_OutOfBandPrint (netadr_t adr, char *format, ...) { va_list argptr; - static char string[8192]; // ??? why static? + static char string[8192]; // ?? why static? va_start (argptr, format); vsnprintf (string, sizeof(string), format, argptr); diff --git a/source/pr_edict.c b/source/pr_edict.c index cba810e..d0ba594 100644 --- a/source/pr_edict.c +++ b/source/pr_edict.c @@ -419,7 +419,7 @@ char *PR_GlobalString (int ofs) val = (void *)&pr_globals[ofs]; def = ED_GlobalAtOfs(ofs); if (!def) - snprintf (line, sizeof(line), "%i(???)", ofs); + snprintf (line, sizeof(line), "%i(?)", ofs); else { s = PR_ValueString (def->type, val); @@ -442,7 +442,7 @@ char *PR_GlobalStringNoContents (int ofs) def = ED_GlobalAtOfs(ofs); if (!def) - snprintf (line, sizeof(line), "%i(???)", ofs); + snprintf (line, sizeof(line), "%i(?)", ofs); else snprintf (line, sizeof(line), "%i(%s)", ofs, PR_GetString(def->s_name));