Skip to content

Commit

Permalink
Fixed value = not read from SETUP.INI
Browse files Browse the repository at this point in the history
  • Loading branch information
skynettx committed Aug 27, 2022
1 parent ef545a7 commit ef292af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static int INI_OpenFile(const char *section, const char *key, const char *defaul
if (!strcmp(va, key))
{
fclose(vs);
va = strtok(NULL, "=\r\n");
va = strtok(NULL, "\r\n");
if (va)
{
strncpy(value, va, length);
Expand Down

0 comments on commit ef292af

Please sign in to comment.