mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-21 23:32:51 +00:00
Let (semi) colon end sentences
This commit is contained in:
parent
35ec9857e5
commit
c6ad264b66
1 changed files with 2 additions and 2 deletions
|
@ -2793,13 +2793,13 @@ public class Helper {
|
|||
}
|
||||
|
||||
static boolean isEndChar(char c) {
|
||||
return (isSentenceChar(c) ||
|
||||
c == ',' || c == ':' || c == ';');
|
||||
return (isSentenceChar(c) || c == ',');
|
||||
}
|
||||
|
||||
static boolean isSentenceChar(char c) {
|
||||
return (c == '.' /* Latin */ ||
|
||||
c == '。' /* Chinese */ ||
|
||||
c == ':' || c == ';' ||
|
||||
c == '?' || c == '!');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue