diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-15 15:27:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-15 15:27:09 +0000 |
commit | 4982a2b85b8022d75914970dd04f8ef32b5200f1 (patch) | |
tree | 60e6a833bad8c0cd32e41cd8ae134d79be36631b /protocols/Tlen | |
parent | e018f58931bdc8147f3131e4c59965c268f476b6 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12126 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen')
-rw-r--r-- | protocols/Tlen/src/tlen_svc.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp index b1e35e62b3..98dbafca2b 100644 --- a/protocols/Tlen/src/tlen_svc.cpp +++ b/protocols/Tlen/src/tlen_svc.cpp @@ -1186,14 +1186,13 @@ int TlenProtocol::OnEvent(PROTOEVENTTYPE iEventType, WPARAM wParam, LPARAM lPara case EV_PROTO_ONLOAD: return OnModulesLoaded(0, 0);
case EV_PROTO_ONOPTIONS: return OptionsInit(wParam, lParam);
case EV_PROTO_ONEXIT: return PreShutdown(0, 0);
+
case EV_PROTO_ONRENAME:
- {
- CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIM_NAME | CMIF_TCHAR;
- mi.ptszName = m_tszUserName;
- Menu_ModifyItem(hMenuRoot, &mi);
- /* FIXME: Rename network user as well */
- }
+ CLISTMENUITEM mi = { sizeof(mi) };
+ mi.flags = CMIM_NAME | CMIF_TCHAR;
+ mi.ptszName = m_tszUserName;
+ Menu_ModifyItem(hMenuRoot, &mi);
+ /* FIXME: Rename network user as well */
}
return 1;
}
|