Skip to content

Commit

Permalink
Fix behaviour of '['
Browse files Browse the repository at this point in the history
Closes #4
  • Loading branch information
tomsmeding committed Feb 15, 2018
1 parent e3032d9 commit 3ff756a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mariolang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ class Level{
//if(animate)cout<<"\x1B[s\x1B["<<m->ipy+1<<";"<<m->ipx+1<<"H\x1B[41;1m"<<code[m->ipy][m->ipx]<<"\x1B[0m\x1B[u"<<flush;
char codechar=code[m->ipy][m->ipx];
if(m->skip){
if(strchr("=|#\")(+-.:,;><^![@w",codechar)!=NULL)m->skip=false;
codechar='\0';
m->skip=false;
}
switch(codechar){
case '=': case '|': case '#': case '"':
Expand Down

0 comments on commit 3ff756a

Please sign in to comment.