mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Steve Ratcliffe <steve@parabola.demon.co.uk>
Sorry, small correction to my previous patch.
This commit is contained in:
parent
e4572ec719
commit
b4bbbdbc9b
1 changed files with 1 additions and 1 deletions
|
|
@ -800,7 +800,7 @@ int snd_seq_remove_events(snd_seq_t *seq, snd_seq_remove_events_t *rmp)
|
|||
if (remove_match(rmp, ev)) {
|
||||
/* Remove event */
|
||||
seq->obufused -= len;
|
||||
memmove(ep, ep + len, seq->obufused - (seq->obuf - ep));
|
||||
memmove(ep, ep + len, seq->obufused - (ep - seq->obuf));
|
||||
} else {
|
||||
ep += len;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue