Merge pull request #3411 from RedSoxFan/fix-brace-detect-seeking

config: do not reset pos when braces found
master
Ian Fan 6 years ago committed by GitHub
commit d256182f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -613,7 +613,9 @@ static int detect_brace(FILE *file) {
}
}
free(line);
fseek(file, pos, SEEK_SET);
if (ret == 0) {
fseek(file, pos, SEEK_SET);
}
return ret;
}

Loading…
Cancel
Save