fixed compiler errors

This commit is contained in:
nrb
2020-05-24 17:27:12 +02:00
parent 8705562559
commit d59862eb5e
14 changed files with 37 additions and 32 deletions

View File

@ -175,7 +175,7 @@ CTimeCycle::Initialise(void)
bi++;
bi++;
}
while(work_buff[bi] != '\n')
while(work_buff[bi] != '\n' || work_buff[bi] != '\0')
line[li++] = work_buff[bi++];
line[li] = '\0';
bi++;