1
0
Fork 0
forked from fte/fteqw

fix typos

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3746 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2011-03-04 15:35:16 +00:00
parent 2fba86e3a0
commit 56ef606d0e
3 changed files with 3 additions and 1 deletions

View file

@ -2709,6 +2709,7 @@ retry:
fnc[i].s_name += stringadjust; fnc[i].s_name += stringadjust;
fnc[i].s_file += stringadjust; fnc[i].s_file += stringadjust;
} }
break;
default: default:
Sys_Error("Bad struct type"); Sys_Error("Bad struct type");
} }

View file

@ -593,6 +593,7 @@ void SetExecutionToLine(progfuncs_t *progfuncs, int linenum)
switch(current_progstate->structtype) switch(current_progstate->structtype)
{ {
case PST_DEFAULT: case PST_DEFAULT:
case PST_QTEST:
for (snum = f->first_statement; pr_progstate[pn].linenums[snum] < linenum; snum++) for (snum = f->first_statement; pr_progstate[pn].linenums[snum] < linenum; snum++)
{ {
if (pr_statements16[snum].op == OP_DONE) if (pr_statements16[snum].op == OP_DONE)

View file

@ -683,7 +683,7 @@ pbool QCC_PR_Precompiler(void)
{ {
if (*pr_file_p == '\n') if (*pr_file_p == '\n')
{ {
QCC_PR_ParseError(0, "#include continued over line boundy\n"); QCC_PR_ParseError(0, "#include continued over line boundry\n");
break; break;
} }
msg[a++] = *pr_file_p; msg[a++] = *pr_file_p;