From 9b7cd6be527290a895fc2f504d84201208e14cd1 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Sun, 7 Jun 2015 12:37:15 -0500 Subject: [PATCH] Missed a file in the last commit. --- include/audacity/EffectAutomationParameters.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/audacity/EffectAutomationParameters.h b/include/audacity/EffectAutomationParameters.h index 0f6b519a8..a7b99f1c6 100644 --- a/include/audacity/EffectAutomationParameters.h +++ b/include/audacity/EffectAutomationParameters.h @@ -42,6 +42,8 @@ #ifndef __AUDACITY_EFFECTAUTOMATIONPARAMETERS_H__ #define __AUDACITY_EFFECTAUTOMATIONPARAMETERS_H__ +#include + #include #include #include @@ -88,7 +90,8 @@ public: wxString str; if (Read(key, &str)) { - wxString dec = wxLocale::GetInfo(wxLOCALE_DECIMAL_POINT, wxLOCALE_CAT_NUMBER); + struct lconv *info = localeconv(); + wxString dec = info ? wxString::FromUTF8(info->decimal_point) : wxT("."); str.Replace(wxT(","), dec); str.Replace(wxT("."), dec);