mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-09 21:52:11 +02:00
Update JSBaker.cpp
This commit is contained in:
parent
16a75d20dc
commit
5c14c7c3b9
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ bool JSBaker::isNonAscii(QChar c) {
|
|||
|
||||
// If previous and next characters are special characters, don't omit space
|
||||
bool JSBaker::isSpecialCharacter(QChar c) {
|
||||
return (c == '\'' || c == '$' || c == '_' || c == '/');
|
||||
return (c == '\'' || c == '$' || c == '_' || c == '/' || c== '+' || c == '-');
|
||||
}
|
||||
|
||||
// If previous character is a special character, maybe don't omit new line (depends on next character as well)
|
||||
|
|
Loading…
Reference in a new issue