[Bug 10542] New: Bug in TEXT_Ellipsify when returning modstr
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Nov 22 13:24:37 CST 2007
http://bugs.winehq.org/show_bug.cgi?id=10542
Summary: Bug in TEXT_Ellipsify when returning modstr
Product: Wine
Version: CVS/GIT
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-user
AssignedTo: wine-bugs at winehq.org
ReportedBy: mxmauro at hotmail.com
Hi,
In the TEXT_Ellipsify function located in dlls/user32/text.c, the last lines
are:
if (modstr)
{
memcpy (modstr, str, *len_str * sizeof(WCHAR));
*(str+*len_str) = '\0';
}
and they should be:
if (modstr)
{
memcpy (modstr, str, *len_str * sizeof(WCHAR));
*(modstr+*len_str) = '\0';
}
like in TEXT_PathEllipsify (is correct there). Checked in latest cvs
repository.
Best regards,
Mauro.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list