mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Don't output "Error:" twice.
This commit is contained in:
parent
4bf6291406
commit
b402f05c90
@ -65,7 +65,8 @@ mxmsg(int level,
|
||||
if (level == MXMSG_ERROR) {
|
||||
if (s_saw_cr_after_nl)
|
||||
g_mm_stdio->puts("\n");
|
||||
g_mm_stdio->puts(g_cc_stdio->native(Y("Error: ")));
|
||||
if (!starts_with(message, Y("Error:")))
|
||||
g_mm_stdio->puts(g_cc_stdio->native(Y("Error: ")));
|
||||
|
||||
} else if (level == MXMSG_WARNING)
|
||||
g_mm_stdio->puts(g_cc_stdio->native(Y("Warning: ")));
|
||||
|
Loading…
Reference in New Issue
Block a user