Skip to content

Commit

Permalink
test ecs_meta_get_*
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeletier committed Nov 29, 2024
1 parent c115666 commit 6f355cb
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/addons/meta/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ char ecs_meta_get_char(
}
switch(op->kind) {
case EcsOpChar:
return *(const ecs_char_t*)ptr != 0;
return *(const ecs_char_t*)ptr;
case EcsOpOpaque: {
/* If opaque type knows how to convert to char, retrieve it.
Otherwise, fallback to default case (error). */
Expand Down
Loading

0 comments on commit 6f355cb

Please sign in to comment.