summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraAdvancedSearch.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:47:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:47:58 +0000
commit914f4263b866f546311b4f8e3a95ff816770783f (patch)
tree2d078d9779b448faca946f48dadf55d120eb4c21 /protocols/MRA/src/MraAdvancedSearch.cpp
parentd3b77308122587707580ec1f308dbdda38c806ac (diff)
- naming conflict;
- warning fixes; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14985 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraAdvancedSearch.cpp')
-rw-r--r--protocols/MRA/src/MraAdvancedSearch.cpp62
1 files changed, 29 insertions, 33 deletions
diff --git a/protocols/MRA/src/MraAdvancedSearch.cpp b/protocols/MRA/src/MraAdvancedSearch.cpp
index 42cc03beb1..a8056de463 100644
--- a/protocols/MRA/src/MraAdvancedSearch.cpp
+++ b/protocols/MRA/src/MraAdvancedSearch.cpp
@@ -10,50 +10,47 @@ struct FieldNames
LPWSTR lpszText;
};
-
-
static const FieldNames GenderField[] =
{
- {1, LPGENT("Male")},
- {2, LPGENT("Female")},
- {-1, NULL}
+ { 1, LPGENT("Male") },
+ { 2, LPGENT("Female") },
+ { 0, NULL }
};
static const FieldNames MonthField[] =
{
- {1, LPGENT("January")},
- {2, LPGENT("February")},
- {3, LPGENT("March")},
- {4, LPGENT("April")},
- {5, LPGENT("May")},
- {6, LPGENT("June")},
- {7, LPGENT("July")},
- {8, LPGENT("August")},
- {9, LPGENT("September")},
- {10, LPGENT("October")},
- {11, LPGENT("November")},
- {12, LPGENT("December")},
- {-1, NULL}
+ { 1, LPGENT("January") },
+ { 2, LPGENT("February") },
+ { 3, LPGENT("March") },
+ { 4, LPGENT("April") },
+ { 5, LPGENT("May") },
+ { 6, LPGENT("June") },
+ { 7, LPGENT("July") },
+ { 8, LPGENT("August") },
+ { 9, LPGENT("September") },
+ { 10, LPGENT("October") },
+ { 11, LPGENT("November") },
+ { 12, LPGENT("December") },
+ { 0, NULL }
};
static const FieldNames ZodiakField[] =
{
- {1, LPGENT("Aries")},
- {2, LPGENT("Taurus")},
- {3, LPGENT("Gemini")},
- {4, LPGENT("Cancer")},
- {5, LPGENT("Leo")},
- {6, LPGENT("Virgo")},
- {7, LPGENT("Libra")},
- {8, LPGENT("Scorpio")},
- {9, LPGENT("Sagittarius")},
- {10, LPGENT("Capricorn")},
- {11, LPGENT("Aquarius")},
- {12, LPGENT("Pisces")},
- {-1, NULL}
+ { 1, LPGENT("Aries") },
+ { 2, LPGENT("Taurus") },
+ { 3, LPGENT("Gemini") },
+ { 4, LPGENT("Cancer") },
+ { 5, LPGENT("Leo") },
+ { 6, LPGENT("Virgo") },
+ { 7, LPGENT("Libra") },
+ { 8, LPGENT("Scorpio") },
+ { 9, LPGENT("Sagittarius") },
+ { 10, LPGENT("Capricorn") },
+ { 11, LPGENT("Aquarius") },
+ { 12, LPGENT("Pisces") },
+ { 0, NULL }
};
-
void ResetComboBox(HWND hWndCombo)
{
SendMessage(hWndCombo, CB_RESETCONTENT, 0, 0);
@@ -101,7 +98,6 @@ INT_PTR CALLBACK AdvancedSearchDlgProc(HWND hWndDlg, UINT message, WPARAM wParam
GetLocalTime(&stTime);
ppro = (CMraProto*)lParam;
- //InitComboBox(GetDlgItem(hWndDlg, IDC_EMAIL_DOMAIN), (FieldNames*)DomainField);
HWND hWndCombo = GetDlgItem(hWndDlg, IDC_EMAIL_DOMAIN);
ResetComboBox(hWndCombo);