mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 23:55:50 +01:00
minor change for clarity and forward compatibility with wxWidgets, per '[Audacity-devel] SseMathFuncs.cpp fails to build on PPC Mac, unsurprisingly!' thread from Andrew Hallendorff
This commit is contained in:
@@ -561,7 +561,7 @@ AudioIO::AudioIO()
|
|||||||
wxString errStr = _("Could not find any audio devices.\n");
|
wxString errStr = _("Could not find any audio devices.\n");
|
||||||
errStr += _("You will not be able to play or record audio.\n\n");
|
errStr += _("You will not be able to play or record audio.\n\n");
|
||||||
wxString paErrStr = LAT1CTOWX(Pa_GetErrorText(err));
|
wxString paErrStr = LAT1CTOWX(Pa_GetErrorText(err));
|
||||||
if (paErrStr)
|
if (!paErrStr.IsEmpty())
|
||||||
errStr += _("Error: ")+paErrStr;
|
errStr += _("Error: ")+paErrStr;
|
||||||
// XXX: we are in libaudacity, popping up dialogs not allowed! A
|
// XXX: we are in libaudacity, popping up dialogs not allowed! A
|
||||||
// long-term solution will probably involve exceptions
|
// long-term solution will probably involve exceptions
|
||||||
|
|||||||
Reference in New Issue
Block a user