Guarded magic word check if statements
Not explicitly needed, but no reason not to protect it
This commit is contained in:
parent
6910e162d7
commit
bd87f5f23b
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue