From 5cb8662ec83f0e955eba15b3fcebfd9d79c6b73f Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Mon, 17 Feb 2020 16:20:07 +0800 Subject: [PATCH] rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread --- src/include/internals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/internals.h b/src/include/internals.h index 772534df..ec9580f7 100644 --- a/src/include/internals.h +++ b/src/include/internals.h @@ -703,7 +703,7 @@ static inline MSGQUEUE* isWindowInThisThread (HWND hWnd) return NULL; } -static inline MSGQUEUE* getMsgQueueByWindowInThisThread (HWND hWnd) +static inline MSGQUEUE* getMsgQueueIfWindowInThisThread (HWND hWnd) { PMAINWIN pMainWin = getMainWindowPtr(hWnd); #ifdef WIN32 @@ -733,7 +733,7 @@ static inline BOOL isWindowInThisThread (HWND hWnd) return TRUE; } -static inline MSGQUEUE* getMsgQueueByWindowInThisThread (HWND hWnd) +static inline MSGQUEUE* getMsgQueueIfWindowInThisThread (HWND hWnd) { return __mg_dsk_msg_queue; }