diff --git a/util/header_generator.c b/util/header_generator.c index b8da60a..a9a5441 100644 --- a/util/header_generator.c +++ b/util/header_generator.c @@ -946,9 +946,8 @@ void OutputOdinFunction(Entry *entry, Entry *root) { Entry *entry = root->children + i; if (entry->type == ENTRY_BITSET && 0 == strcmp(variable->variable.type, entry->name)) { - needLeadingDot = true; - if (0 == memcmp(initialValue, entry->bitset.definePrefix + 3, strlen(entry->bitset.definePrefix) - 3)) { + needLeadingDot = true; initialValue += strlen(entry->bitset.definePrefix) - 3; }