commit 329860e15e8d2d758593d7d64996db13eeedbc90 parent 39cbabf7122654345332127501a2b915cd76a674 Author: Adam Malone <1319733+freddyz@users.noreply.github.com> Date: Fri, 4 Jan 2019 14:36:26 -0600 fix bug with laundrySequence Diffstat:
M | src/dtpulse.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dtpulse.cpp b/src/dtpulse.cpp @@ -987,7 +987,7 @@ std::vector<Token> Parser::atExpandTokens(std::vector<std::vector<Token>> tokenV innerDex = 0; sum=0; while(sum < atNum) { - thisToken = tokenVecVec[i][innerDex % sectionSize]; + thisToken = tokenVecVec[i].size() ? tokenVecVec[i][innerDex % sectionSize] : Token("Integer","0",-1,1); if( thisToken.type=="Letter") { thisLength = b64lookup.find(thisToken.value)+1; newType="Integer";