mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-12 19:03:10 +03:00
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:
parent
ff68d2633f
commit
1afe2a091a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user