mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Use STDOUT_FILENO instead of 1 in con_tty.c
This commit is contained in:
parent
52aed503b5
commit
06231971ed
1 changed files with 2 additions and 2 deletions
|
@ -356,8 +356,8 @@ char *CON_Input( void )
|
|||
Q_strncpyz(text, TTY_con.buffer, sizeof(text));
|
||||
Field_Clear(&TTY_con);
|
||||
key = '\n';
|
||||
write(1, &key, 1);
|
||||
write( 1, "]", 1 );
|
||||
write(STDOUT_FILENO, &key, 1);
|
||||
write(STDOUT_FILENO, "]", 1);
|
||||
return text;
|
||||
}
|
||||
if (key == '\t')
|
||||
|
|
Loading…
Reference in a new issue