fix: logic inversion in loadFileDICTIONARY_safe use of CheckStringIsHEXValue

This commit is contained in:
Michael Farrell committed 2020-01-30 21:00:22 +11:00
1 parent 01560dda81
commit 75841e7b20
1 file changed
+1 -1
+1 -1
View File
@@ -1016,7 +1016,7 @@ int loadFileDICTIONARY_safe(const char *preferredName, void **pdata, uint8_t key
if (line[0] == '#')
continue;
if (CheckStringIsHEXValue(line))
if (!CheckStringIsHEXValue(line))
continue;
uint64_t key = strtoull(line, NULL, 16);