DrawTextA: regarding the nCount variable

William Poetra Yoga H williampoetra at yahoo.com
Tue Oct 19 11:39:10 CDT 2004

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

Do you Yahoo!?
Declare Yourself - Register online to vote today!

More information about the wine-devel mailing list