mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +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));
|
Q_strncpyz(text, TTY_con.buffer, sizeof(text));
|
||||||
Field_Clear(&TTY_con);
|
Field_Clear(&TTY_con);
|
||||||
key = '\n';
|
key = '\n';
|
||||||
write(1, &key, 1);
|
write(STDOUT_FILENO, &key, 1);
|
||||||
write( 1, "]", 1 );
|
write(STDOUT_FILENO, "]", 1);
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
if (key == '\t')
|
if (key == '\t')
|
||||||
|
|
Loading…
Reference in a new issue