Browse Source

fixed a bug where dud removal could remove the correct word

Josh Bicking 7 years ago
parent
commit
39c9b6f7d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pass.c

+ 1 - 1
pass.c

@@ -483,7 +483,7 @@ void pass(){
                     starty = tempy;
                     
                     charCounter = 0;
-                    while(bigString[getCharLoc(tempy,tempx)+1]>64 && bigString[getCharLoc(tempy,tempx)+1]<91){
+                    while(bigString[getCharLoc(tempy,tempx)]>64 && bigString[getCharLoc(tempy,tempx)]<91){
                         currentChar[charCounter] = bigString[getCharLoc(tempy,tempx)];
                         charCounter++;
                         tempx++;