mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-17 08:17:59 +01:00
Patch provided by Rob (RPM) to resolve many of the wx3 format string assertions
He wanted to help so I asked if he wanted to track them down. He agreed and found more than I probably would have. And he said there were more, but the rest were questionable and since he works on Windows, wasn't able to actually test. I give a few of the ones he did find a go and they do indeed get rid of the assertions. (Basically, a 64-bit/32-bit issue, easily resolved with a typecast.)
This commit is contained in:
@@ -276,8 +276,8 @@ int ExportMP2::Export(AudacityProject *project,
|
||||
|
||||
ProgressDialog *progress = new ProgressDialog(wxFileName(fName).GetName(),
|
||||
selectionOnly ?
|
||||
wxString::Format(_("Exporting selected audio at %d kbps"), bitrate) :
|
||||
wxString::Format(_("Exporting entire file at %d kbps"), bitrate));
|
||||
wxString::Format(_("Exporting selected audio at %d kbps"), (int) bitrate) :
|
||||
wxString::Format(_("Exporting entire file at %d kbps"), (int) bitrate));
|
||||
|
||||
int updateResult = eProgressSuccess;
|
||||
while(updateResult == eProgressSuccess) {
|
||||
|
||||
Reference in New Issue
Block a user