Fix linux build.

This commit is contained in:
Bram Stolk 2018-04-18 22:41:26 -07:00
parent 5002936ed2
commit 6336890754

View file

@ -41,7 +41,7 @@ static void get_terminal_size(void)
FILE* f = popen( "stty size", "r" );
if ( !f )
{
fprintf( stderr, "%s: Failed to determine terminal size using stty.\n", argv[0] );
fprintf( stderr, "Failed to determine terminal size using stty.\n" );
exit( 1 );
}
const int num = fscanf( f, "%d %d", &termh, &termw );