Prechádzať zdrojové kódy

fixed a bug where dud removal could remove the correct word

Josh Bicking 7 rokov pred
rodič
commit
39c9b6f7d4
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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++;