diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-15 13:41:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-15 13:41:50 +0300 |
commit | 0bc6905beb27cee9e288e6680e4ce6a85bcfd8e8 (patch) | |
tree | f4d2882dd4075123ce4fa5407388982915f18da3 /protocols/IRCG/src/services.cpp | |
parent | 7ba28b7ff398cc9a018237407eebbf5a91382018 (diff) |
IRC: more code cleaning
Diffstat (limited to 'protocols/IRCG/src/services.cpp')
-rw-r--r-- | protocols/IRCG/src/services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/services.cpp b/protocols/IRCG/src/services.cpp index 00bb276d8a..c6ed1fb46c 100644 --- a/protocols/IRCG/src/services.cpp +++ b/protocols/IRCG/src/services.cpp @@ -481,7 +481,7 @@ int __cdecl CIrcProto::GCEventHook(WPARAM, LPARAM lParam) wchar_t *p1 = mir_wstrdup(gch->ptszID);
wchar_t *p2 = wcsstr(p1, L" - ");
if (p2)
- *p2 = '\0';
+ *p2 = 0;
switch (gch->iType) {
case GC_SESSION_TERMINATE:
|