Skip to content

Commit

Permalink
Fix compilation for gcc 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Mar 22, 2017
1 parent 0f5c07d commit 742ae25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Util/StringHandler.cpp
Expand Up @@ -1122,7 +1122,7 @@ QStringList StringHandler::unparseStrings(QString value)
i++;
continue;
}
while (value[i] != '"' && value[i] != '\0') {
while (value[i] != '"' && !value[i].isNull()) {
i++;
fprintf(stderr, "error? malformed string-list. skipping: %c\n", value[i].toAscii());
}
Expand Down

0 comments on commit 742ae25

Please sign in to comment.