mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Merged 2417
This commit is contained in:
parent
f160ef592c
commit
77d13918dd
@ -226,7 +226,11 @@ job_run_dialog::process_input() {
|
||||
got_char = false;
|
||||
|
||||
if (got_char && ((c == '\n') || (c == '\r') || out->Eof())) {
|
||||
#if WXUNICODE
|
||||
wx_line = wxU(to_utf8(cc_local_utf8, line).c_str());
|
||||
#else
|
||||
wx_line = line.c_str();
|
||||
#endif
|
||||
if (wx_line.Find(wxT("progress")) == 0) {
|
||||
if (wx_line.Find(wxT("%)")) != 0) {
|
||||
wx_line.Remove(wx_line.Find(wxT("%)")));
|
||||
|
@ -160,7 +160,11 @@ mux_dialog::mux_dialog(wxWindow *parent):
|
||||
app->Dispatch();
|
||||
|
||||
if ((c == '\n') || (c == '\r') || out->Eof()) {
|
||||
#if WXUNICODE
|
||||
wx_line = wxU(to_utf8(cc_local_utf8, line).c_str());
|
||||
#else
|
||||
wx_line = line.c_str();
|
||||
#endif
|
||||
log += wx_line + wxT("\n");
|
||||
if (wx_line.Find(wxT("Warning:")) == 0)
|
||||
tc_warnings->AppendText(wx_line + wxT("\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user