diff --git a/src/Cedar/CM.c b/src/Cedar/CM.c index f7c83f9b..673bda69 100644 --- a/src/Cedar/CM.c +++ b/src/Cedar/CM.c @@ -4480,7 +4480,7 @@ UINT CmMainWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void *p // Specify the notification service to the foreground process void CmSetForegroundProcessToCnService() { - if (cm->MenuPopuping) + if (cm->PopupMenuOpen) { return; } @@ -4657,7 +4657,7 @@ void CmShowTrayMenu(HWND hWnd) return; } - cm->MenuPopuping = true; + cm->PopupMenuOpen = true; locked = cm->CmSetting.LockMode; easy = cm->CmSetting.EasyMode; @@ -4786,7 +4786,7 @@ void CmShowTrayMenu(HWND hWnd) DestroyMenu(h); - cm->MenuPopuping = false; + cm->PopupMenuOpen = false; } // Hide or show the main window diff --git a/src/Cedar/CMInner.h b/src/Cedar/CMInner.h index b789df46..2d2820da 100644 --- a/src/Cedar/CMInner.h +++ b/src/Cedar/CMInner.h @@ -208,7 +208,7 @@ typedef struct CM bool CheckedAndShowedAdminPackMessage; INSTANCE *StartupMutex; bool BadProcessChecked; - bool MenuPopuping; + bool PopupMenuOpen; WINUI_UPDATE *Update; } CM;