mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Whoops. Fixed some GIB bugs.
This commit is contained in:
parent
58e8a997f8
commit
4cb3a5087b
1 changed files with 3 additions and 3 deletions
|
@ -1184,7 +1184,7 @@ Cmd_ProcessVariablesRecursive (dstring_t * dstr, int start)
|
||||||
} else
|
} else
|
||||||
dstring_appendstr (varname, copy->str);
|
dstring_appendstr (varname, copy->str);
|
||||||
if (n >= 0) {
|
if (n >= 0) {
|
||||||
escape (varname, "\\");
|
escape (varname, "<#\\"); // Preserve backslashes, tags, and math as unprocessed
|
||||||
dstring_insertstr (dstr, varname->str, start);
|
dstring_insertstr (dstr, varname->str, start);
|
||||||
n = strlen(varname->str);
|
n = strlen(varname->str);
|
||||||
}
|
}
|
||||||
|
@ -1242,7 +1242,7 @@ Cmd_ProcessEmbeddedSingle (dstring_t * dstr, int start)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (cmd_activebuffer->returned == cmd_returned) {
|
if (cmd_activebuffer->returned == cmd_returned) {
|
||||||
escape (cmd_activebuffer->retval, "\\");
|
escape (cmd_activebuffer->retval, "<#$\\");
|
||||||
dstring_snip(dstr, start, n+1);
|
dstring_snip(dstr, start, n+1);
|
||||||
dstring_insertstr (dstr, cmd_activebuffer->retval->str, start);
|
dstring_insertstr (dstr, cmd_activebuffer->retval->str, start);
|
||||||
n = strlen(cmd_activebuffer->retval->str);
|
n = strlen(cmd_activebuffer->retval->str);
|
||||||
|
@ -2384,7 +2384,7 @@ Cmd_Eval_f (void)
|
||||||
Cmd_Error("eval: invalid number of arguments.\n");
|
Cmd_Error("eval: invalid number of arguments.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Cbuf_AddText (Cmd_Args (1));
|
Cbuf_InsertText (Cmd_Args (1));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue