[PATCH] scrrun: Implement WriteLine/Write for ITextStream (try2)

Nikolay Sivov nsivov at codeweavers.com
Tue Mar 18 04:12:59 CDT 2014


On 3/18/2014 12:28, Dmitry Timoshkov wrote:
> Nikolay Sivov <nsivov at 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..
I don't think it's really important.



More information about the wine-devel mailing list