Skip to content

Commit aced598

Browse files
authored
Merge pull request #528 from howard0su/typo
Fix typo in language file read
2 parents 9d0c370 + e30412e commit aced598

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/language.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void CONFIG_ReadLang(u8 idx)
230230
if (fread(line, 1, 1, fh) == 1)
231231
{
232232
// move file cursor 1 byte back
233-
fseek(fh, -1, SEEK_SET);
233+
fseek(fh, -1, SEEK_CUR);
234234
// check the value of the next character to detect version
235235
if (line[0] == ':')
236236
CONFIG_ReadLangV1(fh);

0 commit comments

Comments
 (0)