From 2b7c50a79e27cc49a94df298176c67a0b602dc57 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Apr 2013 09:10:00 +0000 Subject: also wrtrim renamed, according to the standard, to rtrimw git-svn-id: http://svn.miranda-ng.org/main/trunk@4516 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/database/profilemanager.cpp | 4 ++-- src/modules/findadd/findadd.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules') diff --git a/src/modules/database/profilemanager.cpp b/src/modules/database/profilemanager.cpp index 67589a9d25..267fcde3f3 100644 --- a/src/modules/database/profilemanager.cpp +++ b/src/modules/database/profilemanager.cpp @@ -318,11 +318,11 @@ BOOL EnumProfilesForList(TCHAR *fullpath, TCHAR *profile, LPARAM lParam) } item2.iSubItem = 3; - item2.pszText = trtrim(_tctime(&statbuf.st_ctime)); + item2.pszText = rtrimt(_tctime(&statbuf.st_ctime)); SendMessage(hwndList, LVM_SETITEMTEXT, iItem, (LPARAM)&item2); item2.iSubItem = 4; - item2.pszText = trtrim(_tctime(&statbuf.st_mtime)); + item2.pszText = rtrimt(_tctime(&statbuf.st_mtime)); SendMessage(hwndList, LVM_SETITEMTEXT, iItem, (LPARAM)&item2); } return TRUE; diff --git a/src/modules/findadd/findadd.cpp b/src/modules/findadd/findadd.cpp index 9bbc8ddcff..1228083026 100644 --- a/src/modules/findadd/findadd.cpp +++ b/src/modules/findadd/findadd.cpp @@ -687,7 +687,7 @@ static INT_PTR CALLBACK DlgProcFindAdd(HWND hwndDlg, UINT msg, WPARAM wParam, LP else if (IsDlgButtonChecked(hwndDlg, IDC_BYPROTOID)) { TCHAR str[256]; GetDlgItemText(hwndDlg, IDC_PROTOID, str, SIZEOF(str)); - trtrim(str); + rtrimt(str); if (str[0] == 0) MessageBox(hwndDlg, sttErrMsg, sttErrTitle, MB_OK); else @@ -696,7 +696,7 @@ static INT_PTR CALLBACK DlgProcFindAdd(HWND hwndDlg, UINT msg, WPARAM wParam, LP else if (IsDlgButtonChecked(hwndDlg, IDC_BYEMAIL)) { TCHAR str[256]; GetDlgItemText(hwndDlg, IDC_EMAIL, str, SIZEOF(str)); - trtrim(str); + rtrimt(str); if (str[0] == 0) MessageBox(hwndDlg, sttErrMsg, sttErrTitle, MB_OK); else @@ -755,7 +755,7 @@ static INT_PTR CALLBACK DlgProcFindAdd(HWND hwndDlg, UINT msg, WPARAM wParam, LP else { TCHAR str[256]; GetDlgItemText(hwndDlg, IDC_PROTOID, str, SIZEOF(str)); - if (*trtrim(str) == 0) + if (*rtrimt(str) == 0) break; PROTOSEARCHRESULT psr = {0}; -- cgit v1.2.3