mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 09:47:06 +02:00
Compare QString w/ char*, not char
This commit is contained in:
parent
7dacc2f2c0
commit
10f3032746
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ bool JSBaker::handleMultiLineComments(QTextStream& in) {
|
|||
while (!in.atEnd()) {
|
||||
in >> character;
|
||||
if (character == '*') {
|
||||
if (in.read(1)[0] == '/') {
|
||||
if (in.read(1) == "/") {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue