http://bugs.winehq.org/show_bug.cgi?id=26900
Summary: GetTabbedTextExtent() returns non-zero value when nCount == 0 Product: Wine Version: 1.3.18 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: tim@hentenaar.com
Created an attachment (id=34298) --> (http://bugs.winehq.org/attachment.cgi?id=34298) Patch to fix the issue
GetTabbedTextExtent() in wine is returning a non-zero value when 0 is passed in for nCount. Under Windows XP, logically zero is returned in this case.
http://bugs.winehq.org/show_bug.cgi?id=26900
--- Comment #1 from Tim Hentenaar tim@hentenaar.com 2011-04-23 06:33:29 CDT --- Created an attachment (id=34299) --> (http://bugs.winehq.org/attachment.cgi?id=34299) Test case
http://bugs.winehq.org/show_bug.cgi?id=26900
--- Comment #2 from Tim Hentenaar tim@hentenaar.com 2011-04-23 06:34:11 CDT --- Created an attachment (id=34300) --> (http://bugs.winehq.org/attachment.cgi?id=34300) Test case (exe)
http://bugs.winehq.org/show_bug.cgi?id=26900
Tim Hentenaar tim@hentenaar.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #34298|application/octet-stream |text/plain mime type| | Attachment #34298|0 |1 is patch| |
http://bugs.winehq.org/show_bug.cgi?id=26900
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2011-04-23 06:41:03 CDT --- Please send a test case with a fix to wine-patches. See http://wiki.winehq.org/SubmittingPatches for instructions.
http://bugs.winehq.org/show_bug.cgi?id=26900
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #34299|text/x-csrc |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=26900
--- Comment #4 from Tim Hentenaar tim@hentenaar.com 2011-04-23 07:12:37 CDT --- I've sent patches to wine-patches as requested.
http://bugs.winehq.org/show_bug.cgi?id=26900
--- Comment #5 from butraxz@gmail.com 2013-10-18 13:40:43 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.4 or higher ?
http://bugs.winehq.org/show_bug.cgi?id=26900
Tim Hentenaar tim@hentenaar.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Tim Hentenaar tim@hentenaar.com 2013-10-18 15:49:54 CDT --- This is no longer present in wine 1.5.17.
http://bugs.winehq.org/show_bug.cgi?id=26900
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-10-25 12:54:39 CDT --- Closing bugs fixed in 1.7.5.