diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-06 20:33:17 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-06 20:33:17 +0000 |
commit | f89ba91309f850cef7718a96ea2462e107b37d59 (patch) | |
tree | 4e83174217fbf9b1fa6451a0285b71815f92ecf5 | |
parent | 370cde172bf7159e196840f6f41ee3d02d7f971e (diff) |
Export fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@10918 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/NewsAggregator/Src/ExportImport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|