mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 23:16:21 +00:00
[1.27.07] Fixed crash when espeak_Initialize() is called after espeak_Terminate()
espeakedit: setlocale(LC_NUMERIC,"C") before opening spectrum.dat file. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@62 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -951,6 +951,8 @@ void MyFrame::OnNewWindow(wxCommandEvent& event)
|
||||
}
|
||||
wxFileName path = wxFileName(filename);
|
||||
leaf = path.GetName();
|
||||
|
||||
setlocale(LC_NUMERIC,"C"); // read numbers in the form 1.23456
|
||||
spectseq->Load(stream);
|
||||
spectseq->name = leaf;
|
||||
spectseq->MakePitchenv(spectseq->pitchenv);
|
||||
|
||||
Reference in New Issue
Block a user