Browse Source

Rename a variable

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.1
falkTX 3 years ago
parent
commit
e7a353b225
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      source/utils/CarlaPluginUI.cpp

+ 4
- 4
source/utils/CarlaPluginUI.cpp View File

@@ -779,7 +779,7 @@ private:


#ifdef CARLA_OS_WIN #ifdef CARLA_OS_WIN


#define PUGL_LOCAL_CLOSE_MSG (WM_USER + 50)
#define CARLA_LOCAL_CLOSE_MSG (WM_USER + 50)


static LRESULT CALLBACK wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); static LRESULT CALLBACK wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);


@@ -932,7 +932,7 @@ public:
switch (msg.message) switch (msg.message)
{ {
case WM_QUIT: case WM_QUIT:
case PUGL_LOCAL_CLOSE_MSG:
case CARLA_LOCAL_CLOSE_MSG:
fIsVisible = false; fIsVisible = false;
CARLA_SAFE_ASSERT_BREAK(fCallback != nullptr); CARLA_SAFE_ASSERT_BREAK(fCallback != nullptr);
fCallback->handlePluginUIClosed(); fCallback->handlePluginUIClosed();
@@ -961,7 +961,7 @@ public:
} }
break; break;
case WM_QUIT: case WM_QUIT:
case PUGL_LOCAL_CLOSE_MSG:
case CARLA_LOCAL_CLOSE_MSG:
fIsVisible = false; fIsVisible = false;
CARLA_SAFE_ASSERT_BREAK(fCallback != nullptr); CARLA_SAFE_ASSERT_BREAK(fCallback != nullptr);
fCallback->handlePluginUIClosed(); fCallback->handlePluginUIClosed();
@@ -1045,7 +1045,7 @@ LRESULT CALLBACK wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
switch (message) switch (message)
{ {
case WM_CLOSE: case WM_CLOSE:
PostMessage(hwnd, PUGL_LOCAL_CLOSE_MSG, wParam, lParam);
PostMessage(hwnd, CARLA_LOCAL_CLOSE_MSG, wParam, lParam);
return 0; return 0;


#if 0 #if 0


Loading…
Cancel
Save