computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit 424b7b149669f08f8a4ee330cc4c66a5ca5c8bc5
parent 33bd3ce3e69f5d0aa2a895f2b10169335c01f38b
Author: Adam M <aemalone@gmail.com>
Date:   Fri, 14 Dec 2018 00:41:46 -0600

fix wrong sided comparison operator

Diffstat:
Msrc/ComputerscareILoveCookies.cpp | 1+
Msrc/dtpulse.cpp | 3++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/ComputerscareILoveCookies.cpp b/src/ComputerscareILoveCookies.cpp @@ -461,6 +461,7 @@ void MyTextFieldCookie::onTextChange() { module->checkLength(this->rowIndex); std::string value = module->textFields[this->rowIndex]->text; if(matchParens(value)) { + whoKnows(value); module->setNextAbsoluteSequence(this->rowIndex); module->updateDisplayBlink(this->rowIndex); } diff --git a/src/dtpulse.cpp b/src/dtpulse.cpp @@ -690,10 +690,11 @@ void Parser::ParseAtExpand(Token t) { } std::vector<Token> Parser::countExpandTokens(std::vector<std::vector<Token>> tokenVecVec, int atNum) { std::vector<Token> output; + printTokenVector(tokenVecVec); for(unsigned int i=0; i < tokenVecVec.size(); i++) { int sizeMod = (int) tokenVecVec[i].size(); atNum = atNum==-1 ? sizeMod : atNum; - if(sizeMod < 0 ) { + if(sizeMod > 0 ) { for(int j = 0; j < atNum; j++) { if(tokenVecVec[i].size()) { output.push_back(tokenVecVec[i][j % sizeMod]);