From: <sv...@op...> - 2025-07-16 07:16:05
|
Author: manx Date: Wed Jul 16 09:15:57 2025 New Revision: 23767 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=23767 Log: [Fix] openmpt123: Fix terminal size fallback. Broken since r23764. Modified: trunk/OpenMPT/openmpt123/openmpt123_terminal.hpp Modified: trunk/OpenMPT/openmpt123/openmpt123_terminal.hpp ============================================================================== --- trunk/OpenMPT/openmpt123/openmpt123_terminal.hpp Wed Jul 16 09:12:04 2025 (r23766) +++ trunk/OpenMPT/openmpt123/openmpt123_terminal.hpp Wed Jul 16 09:15:57 2025 (r23767) @@ -577,14 +577,13 @@ if ( terminal_height <= 0 ) { terminal_height = ScreenRows(); } -#else +#endif if ( terminal_width <= 0 ) { terminal_width = 72; } if ( terminal_height <= 0 ) { terminal_height = 23; } -#endif } |