Преглед на файлове

fixed a bug where dud removal could remove the correct word

Josh Bicking преди 7 години
родител
ревизия
39c9b6f7d4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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++;