diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-13 08:12:52 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-13 08:12:52 +0000 |
commit | b6445e02e754cc801c8096a8b622438bd3239929 (patch) | |
tree | 61c9eee58595171b0e3f52927a4bd4bd06048f72 /plugins | |
parent | 7888d8c7a1c4eb30d5f6e097e046118ba3d91622 (diff) |
fixed typos, made message boxes modal
git-svn-id: http://svn.miranda-ng.org/main/trunk@5348 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewsAggregator/Src/Utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp index d1cc583d57..954edef825 100644 --- a/plugins/NewsAggregator/Src/Utils.cpp +++ b/plugins/NewsAggregator/Src/Utils.cpp @@ -671,7 +671,7 @@ TCHAR * CheckFeed(TCHAR *tszURL, HWND hwndDlg) if (!lstrcmpi(xi.getName(child), _T("title"))) {
TCHAR mes[MAX_PATH];
mir_sntprintf(mes, SIZEOF(mes), TranslateT("%s\nis a valid feed's address."), tszURL);
- MessageBox(NULL, mes, TranslateT("New Aggregator"), MB_OK|MB_ICONINFORMATION);
+ MessageBox(hwndDlg, mes, TranslateT("News Aggregator"), MB_OK|MB_ICONINFORMATION);
TCHAR *tszTitle = (TCHAR *)xi.getText(child);
return tszTitle;
}
@@ -683,7 +683,7 @@ TCHAR * CheckFeed(TCHAR *tszURL, HWND hwndDlg) if (!lstrcmpi(xi.getName(child), _T("title"))) {
TCHAR mes[MAX_PATH];
mir_sntprintf(mes, SIZEOF(mes), TranslateT("%s\nis a valid feed's address."), tszURL);
- MessageBox(NULL, mes, TranslateT("New Aggregator"), MB_OK|MB_ICONINFORMATION);
+ MessageBox(hwndDlg, mes, TranslateT("News Aggregator"), MB_OK|MB_ICONINFORMATION);
TCHAR *tszTitle = (TCHAR *)xi.getText(child);
return tszTitle;
}
@@ -697,8 +697,8 @@ TCHAR * CheckFeed(TCHAR *tszURL, HWND hwndDlg) }
else {
TCHAR mes[MAX_PATH];
- mir_sntprintf(mes, SIZEOF(mes), TranslateT("%s\nis a not valid feed's address."), tszURL);
- MessageBox(NULL, mes, TranslateT("New Aggregator"), MB_OK|MB_ICONERROR);
+ mir_sntprintf(mes, SIZEOF(mes), TranslateT("%s\nis not a valid feed's address."), tszURL);
+ MessageBox(hwndDlg, mes, TranslateT("New Aggregator"), MB_OK|MB_ICONERROR);
}
return NULL;
}
|