Skip to content

Commit

Permalink
Merge pull request #72 from jacobalberty/multieventcont
Browse files Browse the repository at this point in the history
Multieventcont
  • Loading branch information
xdenser authored Jan 29, 2017
2 parents 2217c38 + 9fbdc1d commit 421750f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fb-bindings-eventblock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ void event_block::removeEvent(char *Event)
size_t new_length = blength - sz;
size_t tale_length = blength - (buf - (char*)event_buffer) - sz;
if(tale_length){
memcpy(buf, buf+sz, tale_length);
memcpy(rb, rb+sz, tale_length);
memmove(buf, buf+sz, tale_length);
memmove(rb, rb+sz, tale_length);
}
if(new_length==1) new_length = 0;

Expand Down

0 comments on commit 421750f

Please sign in to comment.