25 Jan
2006
25 Jan
'06
9:49 a.m.
Hi Rein, - if (!str) return 0; + if (!str || count == 0) return 0; if (count == -1) count = strlenW(str); - if (count == 0) return 0; + if (count == 0) { + if( flags & DT_CALCRECT) { + rect->right = rect->left; + rect->bottom = rect->top; + } + return 0; + } This block will never be reached because of the if (!str || count == 0) test above. --Juan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com