Fix typo making GCC build fail

This commit is contained in:
emersion 2017-11-18 09:15:48 +01:00
parent 8693bbd6b1
commit 7375931686
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}