emersion / kanshi

Dynamic display configuration (mirror)
https://wayland.emersion.fr/kanshi/
MIT License
655 stars 46 forks source link

Fix parser_next_token return value #71

Closed rikardfalkeborn closed 4 years ago

rikardfalkeborn commented 4 years ago

Returning a negative value in a function with bool as return value is the same as returning true. Fix this by returning false to indicate failure.