mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Fixed GCC warnings with new history code.
This commit is contained in:
parent
c69394fa40
commit
f123da9385
1 changed files with 2 additions and 2 deletions
|
@ -613,7 +613,7 @@ void C_DeinitConsole ()
|
|||
while (hist != NULL)
|
||||
{
|
||||
History *next = hist->Newer;
|
||||
free (hist);
|
||||
delete hist;
|
||||
hist = next;
|
||||
}
|
||||
HistTail = HistHead = HistPos = NULL;
|
||||
|
@ -1659,7 +1659,7 @@ CCMD (history)
|
|||
|
||||
while (hist)
|
||||
{
|
||||
Printf (" %s\n", hist->String);
|
||||
Printf (" %s\n", hist->String.GetChars());
|
||||
hist = hist->Newer;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue