Re: [4/4] gdi32: Move common code into helper function.

2011-01-27 Thread Nikolay Sivov
On 1/27/2011 12:23, Kusanagi Kouichi wrote: On 2011-01-26 19:28:29 +0300, Nikolay Sivov wrote: On 1/26/2011 19:09, Kusanagi Kouichi wrote: -static LPSTR FONT_GetCharsByRangeA(HDC hdc, UINT firstChar, UINT lastChar, PINT pByteLen) +static LPWSTR FONT_GetCharsByRangeA(HDC hdc, UINT firstChar, UI

Re: [4/4] gdi32: Move common code into helper function.

2011-01-27 Thread Kusanagi Kouichi
On 2011-01-26 19:28:29 +0300, Nikolay Sivov wrote: > On 1/26/2011 19:09, Kusanagi Kouichi wrote: > > > >-static LPSTR FONT_GetCharsByRangeA(HDC hdc, UINT firstChar, UINT lastChar, > >PINT pByteLen) > >+static LPWSTR FONT_GetCharsByRangeA(HDC hdc, UINT firstChar, UINT lastChar, > >PINT pLen) > >

Re: [4/4] gdi32: Move common code into helper function.

2011-01-26 Thread Nikolay Sivov
On 1/26/2011 19:09, Kusanagi Kouichi wrote: -static LPSTR FONT_GetCharsByRangeA(HDC hdc, UINT firstChar, UINT lastChar, PINT pByteLen) +static LPWSTR FONT_GetCharsByRangeA(HDC hdc, UINT firstChar, UINT lastChar, PINT pLen) { It's better to change naming too, since it's won't return char stri