mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-22 07:51:20 +00:00
remove possible trigraphs (eww)
This commit is contained in:
parent
9f924b3a9e
commit
600e6dac57
5 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue