From a976d2868e0c38f88d20bd3c9a761a28bec09616 Mon Sep 17 00:00:00 2001 From: Kye <36981621+KyeOnDiscord@users.noreply.github.com> Date: Tue, 13 Sep 2022 12:29:36 +1000 Subject: [PATCH] Cleaned up uMsg switch statement --- r5dev/windows/id3dx.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/r5dev/windows/id3dx.cpp b/r5dev/windows/id3dx.cpp index ecc76c7b..6d0d54a3 100644 --- a/r5dev/windows/id3dx.cpp +++ b/r5dev/windows/id3dx.cpp @@ -85,39 +85,22 @@ LRESULT CALLBACK HwndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) switch (uMsg) { case WM_LBUTTONDOWN: - return 1L; case WM_LBUTTONUP: - return 1L; case WM_LBUTTONDBLCLK: - return 1L; case WM_RBUTTONDOWN: - return 1L; case WM_RBUTTONUP: - return 1L; case WM_RBUTTONDBLCLK: - return 1L; case WM_MBUTTONDOWN: - return 1L; case WM_MBUTTONUP: - return 1L; case WM_MBUTTONDBLCLK: - return 1L; case WM_KEYDOWN: - return 1L; case WM_KEYUP: - return 1L; case WM_MOUSEACTIVATE: - return 1L; case WM_MOUSEHOVER: - return 1L; case WM_MOUSEHWHEEL: - return 1L; case WM_MOUSELEAVE: - return 1L; case WM_MOUSEMOVE: - return 1L; case WM_MOUSEWHEEL: - return 1L; case WM_SETCURSOR: return 1L; default: