mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-10 12:01:43 +00:00
Con_Init: don't use function calls from q_max() macro.
This commit is contained in:
parent
4c63468831
commit
6c9bde021c
1 changed files with 5 additions and 2 deletions
|
@ -308,8 +308,11 @@ void Con_Init (void)
|
|||
|
||||
//johnfitz -- user settable console buffer size
|
||||
i = COM_CheckParm("-consize");
|
||||
if (i && i < com_argc-1)
|
||||
con_buffersize = q_max(CON_MINSIZE,Q_atoi(com_argv[i+1])*1024);
|
||||
if (i && i < com_argc-1) {
|
||||
con_buffersize = Q_atoi(com_argv[i+1])*1024;
|
||||
if (con_buffersize < CON_MINSIZE)
|
||||
con_buffersize = CON_MINSIZE;
|
||||
}
|
||||
else
|
||||
con_buffersize = CON_TEXTSIZE;
|
||||
//johnfitz
|
||||
|
|
Loading…
Reference in a new issue