18 Mar
2014
18 Mar
'14
3:28 a.m.
Nikolay Sivov <nsivov(a)codeweavers.com> wrote:
+static HRESULT textstream_writestr(struct textstream *stream, BSTR text) +{ + DWORD written = 0; + BOOL ret; + + if (stream->unicode) { + if (stream->first_write) { + static const short utf16bom = 0xfeff;
'WCHAR' instead of 'short' would look more natural IMO, especially since remaining data is WCHAR based.. -- Dmitry.