http://bugs.winehq.org/show_bug.cgi?id=20049 --- Comment #19 from Paul Vriens <Paul.Vriens.Wine(a)gmail.com> 2009-09-15 13:36:53 --- (In reply to comment #17)
Hi, passing to help and say the patch fixes the problem, tested under 1.1.28 and 29, but it left me thinking. Why the strlen function would not count the last charecter? It looks like a hack to add 1 =)
Adding the 1 is definitely not a hack. lstrlenW returns the length of the string without the terminating null character. CDM_GETFOLDERPATH on the other hand should report the length including that character. The patch I've sent to wine-patches: http://www.winehq.org/pipermail/wine-patches/2009-September/078516.html includes a test and a fix. -- 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.