From: konrad Date: Fri, 10 Dec 2010 20:30:41 +0000 (+0000) Subject: fix crash X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8de24336f7cac40058851dca73745385322d0e27;p=web%2Fkonrad%2Felam.git fix crash git-svn-id: https://silmor.de/svn/softmagic/elam/trunk@653 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/src/elamexpression.cpp b/src/elamexpression.cpp index 89d80f8..587cfea 100644 --- a/src/elamexpression.cpp +++ b/src/elamexpression.cpp @@ -158,6 +158,7 @@ inline QListExpression::simplifyTokens(QList toks) { QListret; int min=0,max=toks.size()-1; + if(max