From 08d8ee4b71da0733cf6123126db73e39d2324058 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 19 Jan 2013 22:43:08 +0000 Subject: - Another portion of _T replacement (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Ping/src/options.cpp | 2 +- plugins/Ping/src/pingthread.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Ping') diff --git a/plugins/Ping/src/options.cpp b/plugins/Ping/src/options.cpp index 04fedfbd23..50e14bc6c7 100644 --- a/plugins/Ping/src/options.cpp +++ b/plugins/Ping/src/options.cpp @@ -101,7 +101,7 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA ofn.Flags = CC_FULLOPEN; //ofn.lpstrFile[0] = '\0'; ofn.nMaxFile = sizeof(options.log_filename); - ofn.lpstrFilter = _T("All\0*.*\0Text\0*.TXT\0"); + ofn.lpstrFilter = LPGENT("All\0*.*\0Text\0*.TXT\0"); ofn.nFilterIndex = 1; ofn.lpstrFileTitle = NULL; ofn.nMaxFileTitle = 0; diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp index 538cb9e5cb..9ff2b50efe 100644 --- a/plugins/Ping/src/pingthread.cpp +++ b/plugins/Ping/src/pingthread.cpp @@ -1017,7 +1017,7 @@ void InitList() { CLISTMENUITEM mi = { sizeof(mi) }; mi.flags = CMIF_TCHAR; mi.popupPosition = 1000200001; - mi.ptszPopupName = LPGENT( "Ping" ); + mi.ptszPopupName = LPGENT("Ping"); mi.position = 3000320001; mi.hIcon = 0;//LoadIcon( hInst, 0); mi.ptszName = LPGENT( "Show/Hide &Ping Window" ); @@ -1034,8 +1034,8 @@ void InitList() { _tcsncpy(font_id.name, _T("List"), SIZEOF(font_id.name)); strncpy(font_id.dbSettingsGroup, "PING", sizeof(font_id.dbSettingsGroup)); strncpy(font_id.prefix, "Font", sizeof(font_id.prefix)); - _tcsncpy(font_id.backgroundGroup,_T("Ping"),SIZEOF(font_id.backgroundGroup)); - _tcsncpy(font_id.backgroundName,_T("Background"),SIZEOF(font_id.backgroundName)); + _tcsncpy(font_id.backgroundGroup, _T("Ping"), SIZEOF(font_id.backgroundGroup)); + _tcsncpy(font_id.backgroundName ,_T("Background"), SIZEOF(font_id.backgroundName)); font_id.order = 0; FontRegisterT(&font_id); -- cgit v1.2.3