main: jump to cleanup on failure to load cursor pointer theme

This commit is contained in:
Daniel Eklöf 2019-07-17 09:38:54 +02:00
parent 153894eb73
commit 519f721577
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -507,7 +507,7 @@ main(int argc, char *const *argv)
term.wl.shm);
if (term.wl.pointer.theme == NULL) {
LOG_ERR("failed to load cursor theme");
return false;
goto out;
}
term.wl.pointer.cursor = wl_cursor_theme_get_cursor(