mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
History fixed - Ozkan's newline fix seems ok.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@245 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
57484778cd
commit
630499ae8f
1 changed files with 2 additions and 5 deletions
|
@ -721,14 +721,11 @@ void History_Shutdown (void)
|
|||
i = (i + 1) & (CMDLINES - 1);
|
||||
} while (i != edit_line && !key_lines[i][1]);
|
||||
|
||||
do
|
||||
while (i != edit_line && key_lines[i][1])
|
||||
{
|
||||
// Baker: I commented this line out because byte colored
|
||||
// text isn't a feature in most ordinary engines.
|
||||
// fprintf(hf, "%s\n", wcs2str(key_lines[i] + 1));
|
||||
fprintf(hf, "%s\n", key_lines[i] + 1);
|
||||
i = (i + 1) & (CMDLINES - 1);
|
||||
} while (i != edit_line && key_lines[i][1]);
|
||||
}
|
||||
fclose(hf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue