http://bugs.winehq.org/show_bug.cgi?id=16684 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hans(a)meelstraat.net --- Comment #10 from Hans Leidekker <hans(a)meelstraat.net> 2009-09-02 06:46:15 --- + if(lpszSrc) + lstrcpynW(lpszStr, lpszSrc, iLen); + else + *lpszStr = '\0'; + } It would be cleaner to copy the relevant part of lstrcpynW and make it deal with a NULL src buffer. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.