Fixed duplicated check.
authorArmin Novak <armin.novak@thincast.com>
Tue, 22 Jan 2019 10:06:11 +0000 (11:06 +0100)
committerArmin Novak <armin.novak@thincast.com>
Tue, 22 Jan 2019 16:27:17 +0000 (17:27 +0100)
client/Wayland/wlf_disp.c

index afd1ced..39a5309 100644 (file)
@@ -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);