diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-31 22:09:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-31 22:09:02 +0000 |
commit | b1db27c61150e1313a537d1de009ec26bae414ab (patch) | |
tree | ef00c016871fd39258f8d540633b080030673c99 /plugins/IEView/src/Options.cpp | |
parent | e48bae4c6ccf1003916b3960f30816ce8aaa955b (diff) |
- CreateProtoServiceFunction() moved into mir_core.dll instead of inlining
- all old protocols moved on it;
- code cleaning;
git-svn-id: http://svn.miranda-ng.org/main/trunk@13953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/Options.cpp')
-rw-r--r-- | plugins/IEView/src/Options.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/IEView/src/Options.cpp b/plugins/IEView/src/Options.cpp index fb4aa2b3fd..1ae24e9dfd 100644 --- a/plugins/IEView/src/Options.cpp +++ b/plugins/IEView/src/Options.cpp @@ -381,14 +381,11 @@ static void RefreshProtoList(HWND hwndDlg, int mode, bool protoTemplates) tvi.hInsertAfter = TVI_LAST;
tvi.item.mask = TVIF_TEXT | TVIF_PARAM | TVIF_IMAGE | TVIF_STATE | TVIF_SELECTEDIMAGE;
tvi.item.stateMask = TVIS_SELECTED | TVIS_STATEIMAGEMASK;
- if (i == 0) {
+ if (i == 0)
mir_strcpy(protoName, Translate("Default"));
- }
- else {
+ else
CallProtoService(proto->getProtocolName(), PS_GETNAME, sizeof(protoName), (LPARAM)protoName);
- // mir_strcat(protoName, " ");
- // mir_strcat(protoName, Translate("protocol"));
- }
+
tvi.item.pszText = mir_a2t(protoName);
tvi.item.lParam = (LPARAM)proto;
tvi.item.iImage = i;
|