From f89ba91309f850cef7718a96ea2462e107b37d59 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 6 Nov 2014 20:33:17 +0000 Subject: Export fix git-svn-id: http://svn.miranda-ng.org/main/trunk@10918 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/ExportImport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NewsAggregator/Src/ExportImport.cpp') diff --git a/plugins/NewsAggregator/Src/ExportImport.cpp b/plugins/NewsAggregator/Src/ExportImport.cpp index a824d6eaa7..dfcbf68b65 100644 --- a/plugins/NewsAggregator/Src/ExportImport.cpp +++ b/plugins/NewsAggregator/Src/ExportImport.cpp @@ -468,7 +468,7 @@ INT_PTR CALLBACK DlgProcExportOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM Utils_RestoreWindowPositionNoSize(hwndDlg, NULL, MODULE, "ExportDlg"); for (MCONTACT hContact = db_find_first(MODULE); hContact; hContact = db_find_next(hContact, MODULE)) { TCHAR *message = db_get_tsa(hContact, MODULE, "Nick"); - if (!message != NULL) { + if (message != NULL) { SendMessage(FeedsList, LB_ADDSTRING, 0, (LPARAM)message); mir_free(message); } @@ -487,7 +487,7 @@ INT_PTR CALLBACK DlgProcExportOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM case IDOK: { TCHAR FileName[MAX_PATH]; - ptrT tszMirDir(_T("%miranda_path%")); + VARST tszMirDir(_T("%miranda_path%")); OPENFILENAME ofn = {0}; ofn.lStructSize = sizeof(ofn); -- cgit v1.2.3