Missed a file in the last commit.

This commit is contained in:
Leland Lucius 2015-06-07 12:37:15 -05:00
parent a1edf31c99
commit 9b7cd6be52
1 changed files with 4 additions and 1 deletions

View File

@ -42,6 +42,8 @@
#ifndef __AUDACITY_EFFECTAUTOMATIONPARAMETERS_H__
#define __AUDACITY_EFFECTAUTOMATIONPARAMETERS_H__
#include <locale.h>
#include <wx/cmdline.h>
#include <wx/fileconf.h>
#include <wx/intl.h>
@ -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);