Fix typo making GCC build fail

master
emersion 7 years ago
parent 8693bbd6b1
commit 7375931686
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -103,7 +103,7 @@ void view_resize(struct roots_view *view, uint32_t width, uint32_t height) {
void view_move_resize(struct roots_view *view, double x, double y,
uint32_t width, uint32_t height) {
if (x == view->x == x && y == view->y) {
if (x == view->x && y == view->y) {
view_resize(view, width, height);
return;
}

Loading…
Cancel
Save