diff options
Diffstat (limited to 'protocols/IRCG/src/scripting.cpp')
-rw-r--r-- | protocols/IRCG/src/scripting.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IRCG/src/scripting.cpp b/protocols/IRCG/src/scripting.cpp index d510422a84..ee3c57ab90 100644 --- a/protocols/IRCG/src/scripting.cpp +++ b/protocols/IRCG/src/scripting.cpp @@ -82,23 +82,23 @@ INT_PTR __cdecl CIrcProto::Scripting_InsertGuiOut(WPARAM, LPARAM lParam) if (gch->ptszText)
gchook->ptszText = wcsdup(gch->ptszText);
else
- gchook->ptszText = NULL;
+ gchook->ptszText = nullptr;
if (gch->ptszUID)
gchook->ptszUID = wcsdup(gch->ptszUID);
else
- gchook->ptszUID = NULL;
+ gchook->ptszUID = nullptr;
if (gch->ptszID) {
CMStringW S = MakeWndID(gch->ptszID);
gchook->ptszID = wcsdup(S.c_str());
}
- else gchook->ptszID = NULL;
+ else gchook->ptszID = nullptr;
if (gch->pszModule)
gchook->pszModule = _strdup(gch->pszModule);
else
- gchook->pszModule = NULL;
+ gchook->pszModule = nullptr;
mir_forkthread(GuiOutThread, gchook);
return 0;
|