Browse Source

[ADD] Add assert.

pull/70/merge
Don Ho 9 years ago
parent
commit
6db831fcd0
  1. 3
      PowerEditor/src/WinControls/DockingWnd/DockingDlgInterface.h

3
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

Loading…
Cancel
Save