Andrew Talbot : taskmgr: Write-strings warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 3 05:22:52 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 663187a3a7a22ff283064f7e1a0e564802d019bc
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=663187a3a7a22ff283064f7e1a0e564802d019bc
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Sat Jul 1 22:57:26 2006 +0100
taskmgr: Write-strings warnings fix.
---
programs/taskmgr/dbgchnl.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/programs/taskmgr/dbgchnl.c b/programs/taskmgr/dbgchnl.c
index 0d7b0ac..46741eb 100644
--- a/programs/taskmgr/dbgchnl.c
+++ b/programs/taskmgr/dbgchnl.c
@@ -223,34 +223,39 @@ static void DebugChannels_OnCreate(HWND
{
HWND hLV = GetDlgItem(hwndDlg, IDC_DEBUG_CHANNELS_LIST);
LVCOLUMN lvc;
+ static TCHAR debug_channelT[] = {'D','e','b','u','g',' ','C','h','a','n','n','e','l',0},
+ fixmeT[] = {'F','i','x','m','e',0},
+ errT[] = {'E','r','r',0},
+ warnT[] = {'W','a','r','n',0},
+ traceT[] = {'T','r','a','c','e',0};
lvc.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvc.fmt = LVCFMT_LEFT;
- lvc.pszText = _T("Debug Channel");
+ lvc.pszText = debug_channelT;
lvc.cx = 100;
SendMessage(hLV, LVM_INSERTCOLUMN, 0, (LPARAM) &lvc);
lvc.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvc.fmt = LVCFMT_CENTER;
- lvc.pszText = _T("Fixme");
+ lvc.pszText = fixmeT;
lvc.cx = 55;
SendMessage(hLV, LVM_INSERTCOLUMN, 1, (LPARAM) &lvc);
lvc.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvc.fmt = LVCFMT_CENTER;
- lvc.pszText = _T("Err");
+ lvc.pszText = errT;
lvc.cx = 55;
SendMessage(hLV, LVM_INSERTCOLUMN, 2, (LPARAM) &lvc);
lvc.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvc.fmt = LVCFMT_CENTER;
- lvc.pszText = _T("Warn");
+ lvc.pszText = warnT;
lvc.cx = 55;
SendMessage(hLV, LVM_INSERTCOLUMN, 3, (LPARAM) &lvc);
lvc.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvc.fmt = LVCFMT_CENTER;
- lvc.pszText = _T("Trace");
+ lvc.pszText = traceT;
lvc.cx = 55;
SendMessage(hLV, LVM_INSERTCOLUMN, 4, (LPARAM) &lvc);
More information about the wine-cvs
mailing list