Use STDOUT_FILENO instead of 1 in con_tty.c

This commit is contained in:
Zack Middleton 2011-08-05 16:19:01 +00:00
parent 52aed503b5
commit 06231971ed

View file

@ -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')