Ticket #3643: fix FTBFS in cons.handler.c on FreeBSD 11

Replace `min` with `MIN` macro missed in bc14ff44.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Ben Woods 2016-05-11 21:16:29 +02:00 committed by Yury V. Zaytsev
parent ff68d2633f
commit 1afe2a091a

View File

@ -408,7 +408,7 @@ show_console_contents_freebsd (int starty, unsigned char begin_line, unsigned ch
for (line = begin_line; line <= end_line; line++)
{
tty_gotoyx (starty + line - begin_line, 0);
for (col = 0; col < min (COLS, screen_info.mv_csz); col++)
for (col = 0; col < MIN (COLS, screen_info.mv_csz); col++)
{
c = screen_shot.buf[line * screen_info.mv_csz + col] & 0xFF;
tty_print_char (c);