Fix bug read function for multi line files... ooops

This commit is contained in:
Pentium44 2021-04-08 19:05:17 -07:00
parent 7077c03e4f
commit 2ba8a35f5f
3 changed files with 2 additions and 1 deletions

BIN
misc/sslogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@ -52,6 +52,7 @@
#define TOKEN_STR "%"
#define TOKEN_BQ '`'
#define NULLBYTE '\0'
#define NEWLINE '\n'
#define ENCOFFSET 3
#define ENCSTEPODD 2
#define ENCSTEPEVEN 2

View File

@ -608,7 +608,7 @@ char *process_line(char *line)
while(fgets(read_line, sizeof(read_line), read_file) != NULL)
{
sprintf(dynfile, "%s", read_line);
strcat(dynfile, read_line);
}
if(read_size <= MAX_READFILE_LEN)