mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:30:42 +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()) {
|
while (!in.atEnd()) {
|
||||||
in >> character;
|
in >> character;
|
||||||
if (character == '*') {
|
if (character == '*') {
|
||||||
if (in.read(1)[0] == '/') {
|
if (in.read(1) == "/") {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue