From: <sv...@op...> - 2024-09-24 07:30:12
|
Author: manx Date: Tue Sep 24 09:30:00 2024 New Revision: 21732 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21732 Log: [Ref] openmpt123: Simplify commandlineflags. [Mod] openmpt123: Move querying terminal size after parsing commandline. This changes the displayed default for terminal size to be -1. Modified: trunk/OpenMPT/openmpt123/openmpt123.hpp Modified: trunk/OpenMPT/openmpt123/openmpt123.hpp ============================================================================== --- trunk/OpenMPT/openmpt123/openmpt123.hpp Tue Sep 24 09:25:43 2024 (r21731) +++ trunk/OpenMPT/openmpt123/openmpt123.hpp Tue Sep 24 09:30:00 2024 (r21732) @@ -605,7 +605,7 @@ terminal_height = 25; } #else - if (terminal_width <= 0) { + if ( terminal_width <= 0 ) { terminal_width = 72; } if ( terminal_height <= 0 ) { |