[ros-dev] [ros-diffs] [sginsberg] 36773: - Unbreak GetTextFaceA/W, broken since 28730 by GreatLord

James Tabor jimtabor.rosdev at gmail.com
Fri Oct 17 03:43:31 CEST 2008


OMG, now I'm getting dragged into this!

On Thu, Oct 16, 2008 at 7:45 PM, KJK::Hyperion <hackbunny at reactos.com> wrote:
> When lpName is NULL, the API always return the required size, ignoring
> c. If a buffer is specified, it must be at least 1 character long (0
> characters won't even fit an empty string), otherwise failure. Hence,
> the success conditional is !(lpName && !c), i.e. (!lpName || c), which
> is what it had been all along


Okay Vista may not set GdiSetLastError but XP does! Did anyone bother
to check GetTextFaceAliasW? If anyone does please move it to
objects/text.c too.

Thanks,
James


More information about the Ros-dev mailing list