diff options
| author | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-10 19:37:32 +0200 |
|---|---|---|
| committer | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-10 19:37:32 +0200 |
| commit | 0a9d7ce6a0764a87766ebb23cc1ece4c26c8c678 (patch) | |
| tree | 4f70f1c43f8997db5b868e8b754efc9b10d6c150 /src/gui | |
| parent | 02f118d025a75f60b33cfee6bd8cd8d45ece2c07 (diff) | |
kurwaday
Diffstat (limited to 'src/gui')
| -rw-r--r-- | src/gui/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
