[ADD] Add assert.

pull/70/merge
Don Ho 9 years ago
parent dc4897c8f2
commit 6db831fcd0

@ -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