Fix compilation warning about implicit int -> bool conversion

This commit is contained in:
David Capello 2015-06-23 10:08:46 -03:00
parent c00f1e39c4
commit b02a3bf955
1 changed files with 2 additions and 3 deletions

View File

@ -221,10 +221,9 @@ void mouse_poller_init()
#endif
// optional mouse callback for supported platforms
she_mouse_polling_required = mouse_needs_poll();
if (!she_mouse_polling_required) {
she_mouse_polling_required = (mouse_needs_poll() != 0);
if (!she_mouse_polling_required)
mouse_callback = she_mouse_callback;
}
}
void mouse_poller_generate_events()