Guarded magic word check if statements

Not explicitly needed, but no reason not to protect it
This commit is contained in:
David Madison 2017-05-05 07:33:00 -04:00
parent 6910e162d7
commit bd87f5f23b
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ void headerMode(){
hi, lo, chk;
if(headPos < MAGICSIZE){
if(c == magic[headPos]) headPos++;
else headPos = 0;
if(c == magic[headPos]) {headPos++;}
else {headPos = 0;}
}
else{
switch(headPos){