This website works better with JavaScript.
Home
Explore
Sign In
mahta.fetrat
/
HomoFast-eSpeak-Persian
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Free f_logespeak in LoadConfig if it has already been loaded.
master
Reece H. Dunn
9 years ago
parent
ef7994f084
commit
72d8be8c89
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
src/synthdata.cpp
+ 4
- 0
src/synthdata.cpp
View File
@@ -495,7 +495,11 @@ void LoadConfig(void)
if(memcmp(buf,"log",3)==0)
{
if(sscanf(&buf[4],"%d %s",&logging_type,string)==2)
{
if (f_logespeak)
fclose(f_logespeak);
f_logespeak = fopen(string,"w");
}
}
else
if(memcmp(buf,"tone",4)==0)
Write
Preview
Loading…
Cancel
Save