mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Change hack a little
This commit is contained in:
+1
-1
@@ -893,7 +893,7 @@ gb_internal OdinDocEntityIndex odin_doc_add_entity(OdinDocWriter *w, Entity *e)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (e->flags & EntityFlag_BitFieldField) {
|
if (e->flags & EntityFlag_BitFieldField) {
|
||||||
field_group_index = cast(i32)e->Variable.bit_field_bit_size;
|
field_group_index = -cast(i32)e->Variable.bit_field_bit_size;
|
||||||
} else {
|
} else {
|
||||||
field_group_index = e->Variable.field_group_index;
|
field_group_index = e->Variable.field_group_index;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user