diff options
author | Skylion007 <dragonsrcool.aaron@gmail.com> | 2013-08-01 21:25:50 +0400 |
---|---|---|
committer | Skylion007 <dragonsrcool.aaron@gmail.com> | 2013-08-01 21:25:50 +0400 |
commit | b975e519ff07b9756f5e108dbf57cfe402a40c91 (patch) | |
tree | 75e68beb29249cb5456599d73b013d914f700a8d | |
parent | 4c57d872fbd37e8d4f25e7ec294f3c6cf8346b46 (diff) |
Code cleanup
Fixed compiler error caused during earlier decomposition clean up.
-rw-r--r-- | src/com/darkprograms/speech/synthesiser/Synthesiser.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/darkprograms/speech/synthesiser/Synthesiser.java b/src/com/darkprograms/speech/synthesiser/Synthesiser.java index b63a805..6617a7b 100644 --- a/src/com/darkprograms/speech/synthesiser/Synthesiser.java +++ b/src/com/darkprograms/speech/synthesiser/Synthesiser.java @@ -158,6 +158,7 @@ public class Synthesiser { * @return True if it is, false if not. */ private boolean isEndingPunctuation(char input){ - return tmp == ' ' || tmp == '.' || tmp == '!' || tmp == '?' || tmp == ';' || tmp == ':' || tmp == '|'; + return input == ' ' || input == '.' || input == '!' || input == '?' || input == ';' || input == ':' + || input == '|'; } } |