mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Changed: Use _T macro and TCHAR to support UNICODE
This commit is contained in:
parent
f61f3e777f
commit
955978c6c6
3 changed files with 5 additions and 6 deletions
|
@ -23,7 +23,6 @@
|
|||
|
||||
#include <nel/ligo/primitive_class.h>
|
||||
#include <nel/ligo/zone_region.h>
|
||||
#include <hash_set>
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
|
|
|
@ -127,14 +127,14 @@ void CDialogFlags::init(CSoundPlugin *plugin)
|
|||
col.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT;
|
||||
col.fmt = LVCFMT_LEFT;
|
||||
col.cx = 140;
|
||||
col.pszText = "bank names";
|
||||
col.cchTextMax = sizeof("bank names");
|
||||
col.pszText = _T("bank names");
|
||||
col.cchTextMax = _tcslen(col.pszText)+1;
|
||||
_SbList.InsertColumn(0, &col);
|
||||
|
||||
col.fmt = LVCFMT_RIGHT;
|
||||
col.cx = 50;
|
||||
col.pszText = "size";
|
||||
col.cchTextMax = sizeof("size");
|
||||
col.pszText = _T("size");
|
||||
col.cchTextMax = _tcslen(col.pszText)+1;
|
||||
_SbList.InsertColumn(1, &col);
|
||||
|
||||
}
|
||||
|
|
|
@ -195,7 +195,7 @@ void CSoundPlugin::ReInit()
|
|||
}
|
||||
catch(...)
|
||||
{
|
||||
MessageBox(NULL, "Error while initializing audio mixer.\n", "ERROR", MB_ICONERROR);
|
||||
MessageBox(NULL, _T("Error while initializing audio mixer.\n"), _T("ERROR"), MB_ICONERROR);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue