mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 06:14:47 +02:00
[ADD] Add assert.
This commit is contained in:
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…
x
Reference in New Issue
Block a user