Quellcode durchsuchen

fixed a bug where dud removal could remove the correct word

Josh Bicking vor 7 Jahren
Ursprung
Commit
39c9b6f7d4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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++;