mirror of https://github.com/odrling/Aegisub
Allow '+' and 'E' in numbers when tokenizing drawings
This commit is contained in:
parent
74b9353038
commit
c0f337a992
|
@ -165,7 +165,7 @@ class WordSplitter {
|
|||
bool valid = true;
|
||||
for (size_t k = 0; k < tokens[j].length; k++) {
|
||||
char c = text[dpos + k];
|
||||
if (!((c >= '0' && c <= '9') || c == '.' || c == '-' || c == 'e')) {
|
||||
if (!((c >= '0' && c <= '9') || c == '.' || c == '+' || c == '-' || c == 'e' || c == 'E')) {
|
||||
valid = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue