Re: DrawTextA: regarding the nCount variable

2004-10-20 Thread William Poetra Yoga H
--- Bill Medland <[EMAIL PROTECTED]> wrote: > > In what MSDN? I presume you mean the msdn.microsoft.com site as at a certain > > date. > > > it is stated that if nCount is 1, > > Not in the MSDN CDs of January 2002; it is -1 there. > > I guess you found a typo in MSDN > Oh, maybe the msd

Re: DrawTextA: regarding the nCount variable

2004-10-19 Thread Bill Medland
On October 19, 2004 09:39 am, William Poetra Yoga H wrote: > In the MSDN, In what MSDN? I presume you mean the msdn.microsoft.com site as at a certain date. > it is stated that if nCount is 1, Not in the MSDN CDs of January 2002; it is -1 there. > then it is assumed that > lpString is a null-

Re: DrawTextA: regarding the nCount variable

2004-10-19 Thread James Hawkins
Is there a way you can add a test case for this to wine's test suite? That would be the easiest way to find an answer. Sometimes msdn is wrong, but a test will find out. On Tue, 19 Oct 2004 09:39:10 -0700 (PDT), William Poetra Yoga H <[EMAIL PROTECTED]> wrote: > In the MSDN, it is stated that i

DrawTextA: regarding the nCount variable

2004-10-19 Thread William Poetra Yoga H
In the MSDN, it is stated that if nCount is 1, then it is assumed that lpString is a null-terminated string. But in the DrawTextExA function, it is -1, as in the code: if (count == -1) count = strlen(str); Shouldn't this be 1 instead of -1? CMIIW. (But theForger's tutorial also uses -1)