From 0a9d7ce6a0764a87766ebb23cc1ece4c26c8c678 Mon Sep 17 00:00:00 2001 From: 2lag <96544487+2lag@users.noreply.github.com> Date: Mon, 10 Aug 2026 19:37:32 +0200 Subject: kurwa --- src/gui/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/console.cpp') diff --git a/src/gui/console.cpp b/src/gui/console.cpp index dbb46a5..cf6cc4d 100644 --- a/src/gui/console.cpp +++ b/src/gui/console.cpp @@ -76,8 +76,8 @@ inline VEC2 get_console_output_sz( GUI_CONSOLEWINDOW* wnd ) { } inline U8 constrain_console( GUI_CONSOLEWINDOW* wnd, I32 max_x, I32 max_y ) { - max_x = max( 1.0f, max_x ); - max_y = max( 1.0f, max_y ); + max_x = max( 1, max_x ); + max_y = max( 1, max_y ); I32 oldx = wnd->x; I32 oldy = wnd->y; -- cgit v1.2.3