mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-17 09:37:50 +01:00
DroidFish: Fixed NPE in speech synthesis code.
This commit is contained in:
parent
2a447aba64
commit
b79179a1dc
|
@ -52,7 +52,7 @@ public class Speech {
|
|||
return NONE;
|
||||
}
|
||||
}
|
||||
private Language lang;
|
||||
private Language lang = Language.NONE;
|
||||
|
||||
|
||||
/** Initialize the text to speech engine for a given language. */
|
||||
|
|
Loading…
Reference in New Issue
Block a user