Skip to content

Commit

Permalink
[Fix] openmpt123: Fixup backport of r21721.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@21727 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Sep 23, 2024
1 parent f406708 commit e30a3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmpt123/openmpt123.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,7 @@ static int main( int argc, char * argv [] ) {
} 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 ) {
Expand Down Expand Up @@ -2527,7 +2527,7 @@ static int main( int argc, char * argv [] ) {
} 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 ) {
Expand Down

0 comments on commit e30a3d2

Please sign in to comment.