diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-19 22:43:08 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-19 22:43:08 +0000 |
commit | 08d8ee4b71da0733cf6123126db73e39d2324058 (patch) | |
tree | 6496bfacd5d4d6edfd041134e0a0bdde9516038e /plugins/Ping | |
parent | ae25df292c5301259632b1b50475154351d4450a (diff) |
- Another portion of _T replacement (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping')
-rw-r--r-- | plugins/Ping/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/Ping/src/pingthread.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
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);
|