From 97dfa075784e014dfbf56680e0c5e5dbb202d947 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 22 Jan 2019 11:06:11 +0100 Subject: [PATCH] Fixed duplicated check. --- client/Wayland/wlf_disp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/Wayland/wlf_disp.c b/client/Wayland/wlf_disp.c index afd1ced91..39a53096e 100644 --- a/client/Wayland/wlf_disp.c +++ b/client/Wayland/wlf_disp.c @@ -318,9 +318,6 @@ BOOL wlf_disp_handle_configure(wlfDispContext* disp, int32_t width, int32_t heig if (!disp) return FALSE; - if (!disp) - return FALSE; - disp->targetWidth = width; disp->targetHeight = height; return wlf_disp_sendResize(disp);