diff options
author | George Hazan <george.hazan@gmail.com> | 2015-10-14 11:43:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-10-14 11:43:50 +0000 |
commit | dc81b8ba64f571c92645e0ef0dcdbf5c3f209f28 (patch) | |
tree | d477768006c93c8ff11b0e9e66b10ac1ffd61c83 /plugins/Msg_Export/src/main.cpp | |
parent | a80da4fa81421d40a435561ddb62ad2be3e63bf2 (diff) |
fix for bug #754 (MsgExport write in text file nick as (Unknown Contact))
git-svn-id: http://svn.miranda-ng.org/main/trunk@15554 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export/src/main.cpp')
-rwxr-xr-x | plugins/Msg_Export/src/main.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/Msg_Export/src/main.cpp b/plugins/Msg_Export/src/main.cpp index 2432e2679d..c6a3d41377 100755 --- a/plugins/Msg_Export/src/main.cpp +++ b/plugins/Msg_Export/src/main.cpp @@ -22,8 +22,6 @@ CLIST_INTERFACE *pcli; HINSTANCE hInstance = NULL;
int hLangpack = 0;
-static HANDLE hOpenHistoryMenuItem = 0;
-
MWindowList hInternalWindowList = NULL;
/////////////////////////////////////////////////////
@@ -121,10 +119,7 @@ int MainInit(WPARAM /*wparam*/, LPARAM /*lparam*/) mi.position = 1000090100;
mi.name.a = LPGEN("Open E&xported History");
mi.pszService = MS_SHOW_EXPORT_HISTORY;
- hOpenHistoryMenuItem = Menu_AddContactMenuItem(&mi);
-
- if (!hOpenHistoryMenuItem)
- MessageBox(NULL, TranslateT("Failed to add menu item Open Exported History\nCallService(MS_CLIST_ADDCONTACTMENUITEM,...)"), MSG_BOX_TITEL, MB_OK);
+ Menu_AddContactMenuItem(&mi);
}
HookEvent(ME_SYSTEM_SHUTDOWN, nSystemShutdown);
@@ -242,4 +237,4 @@ extern "C" __declspec(dllexport) int Unload(void) WindowList_Destroy(hInternalWindowList);
bUseInternalViewer(false);
return 0;
-}
\ No newline at end of file +}
|