From b9f3fdc5483668c68e21ed9cb18bfe63fb54c8ed Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 14 Jan 2020 22:21:24 +0100 Subject: [PATCH] Removed a redundant if block from win/win_ui.c. --- src/win/win_ui.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/win/win_ui.c b/src/win/win_ui.c index 4e99eebb4..1632ea27a 100644 --- a/src/win/win_ui.c +++ b/src/win/win_ui.c @@ -628,8 +628,6 @@ MainWindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) plat_vidapi_enable(0); temp_y -= sbar_height; - if (temp_x < 1) - temp_x = 1; if (temp_y < 1) temp_y = 1;