mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
Strings must be wide in Unicode mode.
This commit is contained in:
parent
0e0a43d708
commit
d582ecc89e
@ -1,5 +1,8 @@
|
||||
2005-02-26 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: bug fix: The job status in the job runner dialog was broken
|
||||
on Unicode builds on all systems.
|
||||
|
||||
* mmg: bug fix: "Splitting by time" was not selectable on Windows
|
||||
Unicode builds (problem with wxWidgets 2.5.3).
|
||||
|
||||
|
@ -274,7 +274,7 @@ void
|
||||
job_run_dialog::on_end_process(wxProcessEvent &evt) {
|
||||
int exit_code, ndx;
|
||||
wxString s;
|
||||
const char *status;
|
||||
const wxChar *status;
|
||||
|
||||
process_input();
|
||||
|
||||
@ -282,16 +282,16 @@ job_run_dialog::on_end_process(wxProcessEvent &evt) {
|
||||
exit_code = evt.GetExitCode();
|
||||
if (abort) {
|
||||
jobs[ndx].status = JOBS_ABORTED;
|
||||
status = "aborted";
|
||||
status = wxT("aborted");
|
||||
} else if (exit_code == 0) {
|
||||
jobs[ndx].status = JOBS_DONE;
|
||||
status = "completed OK";
|
||||
status = wxT("completed OK");
|
||||
} else if (exit_code == 1) {
|
||||
jobs[ndx].status = JOBS_DONE_WARNINGS;
|
||||
status = "completed with warnings";
|
||||
status = wxT("completed with warnings");
|
||||
} else {
|
||||
jobs[ndx].status = JOBS_FAILED;
|
||||
status = "failed";
|
||||
status = wxT("failed");
|
||||
}
|
||||
jobs[ndx].finished_on = time(NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user