diff options
Diffstat (limited to 'src/gui/console.cpp')
| -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; |
