diff --git a/PowerEditor/src/WinControls/DockingWnd/DockingDlgInterface.h b/PowerEditor/src/WinControls/DockingWnd/DockingDlgInterface.h index 74cb8f33b..ff1922067 100644 --- a/PowerEditor/src/WinControls/DockingWnd/DockingDlgInterface.h +++ b/PowerEditor/src/WinControls/DockingWnd/DockingDlgInterface.h @@ -68,7 +68,10 @@ public: ::GetWindowText(_hSelf, temp, MAX_PATH); _pluginName = temp; // user information + assert(data->hClient != nullptr); data->hClient = _hSelf; + + assert(data->pszName != nullptr); data->pszName = (TCHAR *)_pluginName.c_str(); // supported features by plugin