Permalink
Browse files

bugfix : drop object

  • Loading branch information...
cloudwu committed Jun 26, 2012
1 parent acb214d commit 54660b509d6f91bba24d0307c565a5f355508812
Showing with 1 addition and 1 deletion.
  1. +1 −1 aoi.c
View
2 aoi.c
@@ -357,7 +357,7 @@ aoi_update(struct aoi_space * space , uint32_t id, const char * modestring , flo
set_marker = true;
break;
case 'd':
- if (obj->mode & MODE_DROP) {
+ if (!(obj->mode & MODE_DROP)) {
obj->mode = MODE_DROP;
drop_object(space, obj);
}

0 comments on commit 54660b5

Please sign in to comment.