Skip to content

Commit

Permalink
doc: fix libinput_event_destroy parameter
Browse files Browse the repository at this point in the history
Fix libinput_event_destroy call by passing the correct parameter (event) in the
example code.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
  • Loading branch information
diegorondini committed Sep 18, 2018
1 parent 33e202b commit b1ee7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ int main(void) {

// handle the event here

libinput_event_destroy(li);
libinput_event_destroy(event);
libinput_dispatch(li);
}

Expand Down

0 comments on commit b1ee7ad

Please sign in to comment.