Skip to content

Commit

Permalink
fixed other comp issue
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Aug 5, 2019
1 parent 07bf3d5 commit 96579b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/librg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ extern "C" {
librg_entity *blob = librg_entity_fetch(ctx, entity);

/* prevent any operations on the same entity*/
if (entity == target) return LIBRG_VISIBILITY_DEFAULT;
if (entity == target) return LIBRG_DEFAULT_VISIBILITY;

if (!(blob->flags & LIBRG_ENTITY_VISIBILITY)) {
return LIBRG_DEFAULT_VISIBILITY;
Expand Down

0 comments on commit 96579b7

Please sign in to comment.