mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-31 04:27:47 +00:00
Changed type of '\0' literal to wchar_t [MT5]
This commit is contained in:
@@ -53,7 +53,7 @@ void convertSystemString(wchar_t* dest, String^ src)
|
||||
{
|
||||
pin_ptr<const wchar_t> wch = PtrToStringChars(src);
|
||||
memcpy(dest, wch, wcslen(wch) * sizeof(wchar_t));
|
||||
dest[wcslen(wch)] = '\0';
|
||||
dest[wcslen(wch)] = L'\0';
|
||||
}
|
||||
|
||||
#define _DLLAPI extern "C" __declspec(dllexport)
|
||||
|
||||
Reference in New Issue
Block a user