From 378f689c0e7756fb504109604ab095ffad5faadb Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 19 Jan 2013 19:18:18 +0000 Subject: - Another portion of _T replacement (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickMessages/src/options.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'plugins/QuickMessages') diff --git a/plugins/QuickMessages/src/options.cpp b/plugins/QuickMessages/src/options.cpp index e3e20d5b75..b5add8e26f 100644 --- a/plugins/QuickMessages/src/options.cpp +++ b/plugins/QuickMessages/src/options.cpp @@ -183,7 +183,7 @@ void SetMenuEntryProperties(HWND hdlg) else { if (!bd->pszOpValue) - bd->pszOpValue=mir_tstrdup(_T("Enter Value")); + bd->pszOpValue=mir_tstrdup(LPGENT("Enter Value")); } if(TreeView_GetParent(hMenuTree, tvi.hItem)) bd->fEntryOpType|=QMF_EX_CHILD; @@ -992,11 +992,7 @@ INT_PTR CALLBACK OptionsProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam) int count=TreeView_GetCount(hButtonsList); if (count>10) break; if(g_iOPButtonsCount==99){ - MessageBox(NULL,_T("Congratulation!\n\ - You have clicked this button 100 times!\n\ - There was access violation at this point...\n\ - And now function for freeing resources must be called...\n\ - But no! there's only break :D"),_T("You win!"),MB_OK); + MessageBox(NULL, TranslateT("Congratulation!\r\nYou have clicked this button 100 times!\r\nThere was access violation at this point...\r\nAnd now function for freeing resources must be called...\r\nBut no! there's only break :D"), TranslateT("You win!"),MB_OK); break; } -- cgit v1.2.3