From: <sv...@op...> - 2024-09-23 21:10:28
|
Author: manx Date: Mon Sep 23 23:10:16 2024 New Revision: 21727 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21727 Log: [Fix] openmpt123: Fixup backport of r21721. Modified: branches/OpenMPT-1.30/openmpt123/openmpt123.cpp Modified: branches/OpenMPT-1.30/openmpt123/openmpt123.cpp ============================================================================== --- branches/OpenMPT-1.30/openmpt123/openmpt123.cpp Mon Sep 23 23:06:33 2024 (r21726) +++ branches/OpenMPT-1.30/openmpt123/openmpt123.cpp Mon Sep 23 23:10:16 2024 (r21727) @@ -2359,7 +2359,7 @@ } catch ( silent_exit_exception & ) { return 0; } catch ( exception & e ) { - std_err << MPT_USTRING("error: ") << mpt::get_exception_text<mpt::ustring>( e ) << lf; + std_err << "error: " << e.what() << std::endl; std_err.writeout(); return 1; } catch ( std::exception & e ) { @@ -2527,7 +2527,7 @@ } catch ( silent_exit_exception & ) { return 0; } catch ( exception & e ) { - std_err << MPT_USTRING("error: ") << mpt::get_exception_text<mpt::ustring>( e ) << lf; + std_err << "error: " << e.what() << std::endl; std_err.writeout(); return 1; } catch ( std::exception & e ) { |