1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 14:52:34 +02: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:
v.audacity 2014-01-20 02:22:31 +00:00
parent 9fe88405b1
commit 949fed8914

View File

@ -561,7 +561,7 @@ AudioIO::AudioIO()
wxString errStr = _("Could not find any audio devices.\n");
errStr += _("You will not be able to play or record audio.\n\n");
wxString paErrStr = LAT1CTOWX(Pa_GetErrorText(err));
if (paErrStr)
if (!paErrStr.IsEmpty())
errStr += _("Error: ")+paErrStr;
// XXX: we are in libaudacity, popping up dialogs not allowed! A
// long-term solution will probably involve exceptions