DrawTextA: regarding the nCount variable

James Hawkins truiken at gmail.com
Tue Oct 19 11:53:34 CDT 2004


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
<williampoetra at yahoo.com> wrote:
> 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)
> 
> 
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> 


-- 
James Hawkins



More information about the wine-devel mailing list