Improve recognition of lines with bot-characters in 3ZBConfig.

The original formatting of 3ZBConfig was causing 3 "blank" bot
characters to be loaded into the initial slots of the list of bot
characters.  Decrementing the counter when it reaches an improperly
formatted line prevents this.
This commit is contained in:
earth-metal 2018-09-27 08:20:46 -04:00
parent f2c7daaa3b
commit b28d18c3d3

View file

@ -142,7 +142,11 @@ MESS_NOTFOUND:
if(Buff[0] == '[') break; if(Buff[0] == '[') break;
if(Buff[0] == '\n' || Buff[0] == '#') {i--;continue;} if(Buff[0] == '\n' || Buff[0] == '#') {i--;continue;}
j = 2,k = 1; j = 2,k = 1;
if(!strncmp(Buff,"\\\\",2)) if(strncmp(Buff,"\\\\",2))
{
i--;
}
else
{ {
//netname //netname
if(Get_YenPos(Buff,&k)) if(Get_YenPos(Buff,&k))