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;
|
hi, lo, chk;
|
||||||
|
|
||||||
if(headPos < MAGICSIZE){
|
if(headPos < MAGICSIZE){
|
||||||
if(c == magic[headPos]) headPos++;
|
if(c == magic[headPos]) {headPos++;}
|
||||||
else headPos = 0;
|
else {headPos = 0;}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
switch(headPos){
|
switch(headPos){
|
||||||
|
|
Loading…
Reference in New Issue