diff options
| author | 2018-12-19 23:39:49 +0100 | |
|---|---|---|
| committer | 2018-12-19 23:39:49 +0100 | |
| commit | 517dcb09609999dd96390a7db1690a35bf39508f (patch) | |
| tree | 67d8006b854d7b27bacfa54f6cc8fb4129b26d98 /diceparser.cpp | |
| parent | 20a3f37a66a5dc4bd1bd359cad2a7d6870061fc6 (diff) | |
| download | OneRoll-517dcb09609999dd96390a7db1690a35bf39508f.tar.gz OneRoll-517dcb09609999dd96390a7db1690a35bf39508f.zip | |
fix several little issue.
Diffstat (limited to 'diceparser.cpp')
| -rw-r--r-- | diceparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diceparser.cpp b/diceparser.cpp index c65ef74..7210d8c 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -889,7 +889,7 @@ bool DiceParser::readInstructionList(QString& str) { latest = ParsingToolBox::getLatestNode(latest); } - keepParsing = (!str.isEmpty() & (before!=str)); + keepParsing = (!str.isEmpty() && (before!=str)); } } if( !str.isEmpty() && readInstructionOperator(str[0])) |