diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-12 13:20:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-12 13:20:45 +0000 |
commit | 9c4e02916ad863a7fdd95d2668f29714997d61c5 (patch) | |
tree | dca6208e75e39868aa79842c43b3afd806007128 /plugins/HistoryStats/src/dlgoption_subglobal.cpp | |
parent | 70dc611c18f94358749c6aa682ebaaa34ca44d18 (diff) |
minus one erroneous macro
git-svn-id: http://svn.miranda-ng.org/main/trunk@14925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption_subglobal.cpp')
-rw-r--r-- | plugins/HistoryStats/src/dlgoption_subglobal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/dlgoption_subglobal.cpp b/plugins/HistoryStats/src/dlgoption_subglobal.cpp index 27d8071290..09208fa6d0 100644 --- a/plugins/HistoryStats/src/dlgoption_subglobal.cpp +++ b/plugins/HistoryStats/src/dlgoption_subglobal.cpp @@ -32,7 +32,7 @@ INT_PTR CALLBACK DlgOption::SubGlobal::staticInfoProc(HWND hDlg, UINT msg, WPARA int nCurLink = 0;
if (!linkTexts.empty()) {
- while (!linkTexts.empty() && nCurLink < array_len(LinkIDs)) {
+ while (!linkTexts.empty() && nCurLink < _countof(LinkIDs)) {
ext::string::size_type posTexts = linkTexts.rfind('|');
ext::string::size_type posURLs = linkURLs.rfind('|');
@@ -57,7 +57,7 @@ INT_PTR CALLBACK DlgOption::SubGlobal::staticInfoProc(HWND hDlg, UINT msg, WPARA int nHeightAdd = 0;
- while (nCurLink < array_len(LinkIDs)) {
+ while (nCurLink < _countof(LinkIDs)) {
HWND hLink = GetDlgItem(hDlg, LinkIDs[nCurLink]);
RECT rLink;
@@ -114,7 +114,7 @@ INT_PTR CALLBACK DlgOption::SubGlobal::staticInfoProc(HWND hDlg, UINT msg, WPARA HWND hStatic = reinterpret_cast<HWND>(lParam);
TCHAR szClassName[64];
- if (GetClassName(hStatic, szClassName, array_len(szClassName)) && ext::strfunc::cmp(szClassName, WC_EDIT) == 0) {
+ if (GetClassName(hStatic, szClassName, _countof(szClassName)) && ext::strfunc::cmp(szClassName, WC_EDIT) == 0) {
HDC hDC = reinterpret_cast<HDC>(wParam);
SetBkColor(hDC, GetSysColor(COLOR_WINDOW));
|