diff options
Diffstat (limited to 'src/core/stduserinfo/userinfo.cpp')
-rw-r--r-- | src/core/stduserinfo/userinfo.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/stduserinfo/userinfo.cpp b/src/core/stduserinfo/userinfo.cpp index 4c49f3ab64..e3a48d3837 100644 --- a/src/core/stduserinfo/userinfo.cpp +++ b/src/core/stduserinfo/userinfo.cpp @@ -78,18 +78,18 @@ static int PageSortProc(OPTIONSDIALOGPAGE *item1, OPTIONSDIALOGPAGE *item2) {
int res;
TCHAR *s1 = getTitle(item1), *s2 = getTitle(item2);
- if (!lstrcmp(s1, TranslateT("Summary"))) return -1;
- if (!lstrcmp(s2, TranslateT("Summary"))) return 1;
- if (res = lstrcmp(s1, s2)) return res;
+ if (!mir_tstrcmp(s1, TranslateT("Summary"))) return -1;
+ if (!mir_tstrcmp(s2, TranslateT("Summary"))) return 1;
+ if (res = mir_tstrcmp(s1, s2)) return res;
s1 = getTab(item1), s2 = getTab(item2);
if (s1 && !s2) return -1;
if (!s1 && s2) return 1;
if (!s1 && !s2) return 0;
- if (s1 && !lstrcmp(s1, TranslateT("General"))) return -1;
- if (s2 && !lstrcmp(s2, TranslateT("General"))) return 1;
- return lstrcmp(s1, s2);
+ if (s1 && !mir_tstrcmp(s1, TranslateT("General"))) return -1;
+ if (s2 && !mir_tstrcmp(s2, TranslateT("General"))) return 1;
+ return mir_tstrcmp(s1, s2);
}
static INT_PTR ShowDetailsDialogCommand(WPARAM wParam, LPARAM)
@@ -182,13 +182,13 @@ static void CreateDetailsTabs(HWND hwndDlg, DetailsData *dat, DetailsPageData *p TabCtrl_DeleteAllItems(hwndTab);
for (int i = 0; i < dat->pageCount; i++) {
DetailsPageData &odp = dat->opd[i];
- if (!odp.ptszTab || lstrcmp(odp.ptszTitle, ppg->ptszTitle))
+ if (!odp.ptszTab || mir_tstrcmp(odp.ptszTitle, ppg->ptszTitle))
continue;
tie.pszText = TranslateTH(odp.hLangpack, odp.ptszTab);
tie.lParam = i;
TabCtrl_InsertItem(hwndTab, pages, &tie);
- if (!lstrcmp(odp.ptszTab, ppg->ptszTab))
+ if (!mir_tstrcmp(odp.ptszTab, ppg->ptszTab))
sel = pages;
pages++;
}
@@ -299,7 +299,7 @@ static INT_PTR CALLBACK DlgProcDetails(HWND hwndDlg, UINT msg, WPARAM wParam, LP p.ptszTab = odp[i].ptszTab;
p.hLangpack = odp[i].hLangpack;
- if (i && p.ptszTab && !lstrcmp(dat->opd[i - 1].ptszTitle, p.ptszTitle)) {
+ if (i && p.ptszTab && !mir_tstrcmp(dat->opd[i - 1].ptszTitle, p.ptszTitle)) {
p.hItem = dat->opd[i - 1].hItem;
continue;
}
@@ -313,7 +313,7 @@ static INT_PTR CALLBACK DlgProcDetails(HWND hwndDlg, UINT msg, WPARAM wParam, LP tvis.item.pszText = p.ptszTitle;
else
tvis.item.pszText = TranslateTH(p.hLangpack, p.ptszTitle);
- if (ptszLastTab && !lstrcmp(tvis.item.pszText, ptszLastTab))
+ if (ptszLastTab && !mir_tstrcmp(tvis.item.pszText, ptszLastTab))
dat->currentPage = i;
p.hItem = TreeView_InsertItem(hwndTree, &tvis);
}
|