[Bug 49902] Garbled text in Rufus' tooltips

WineHQ Bugzilla wine-bugs at winehq.org
Fri Feb 19 02:44:56 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=49902

winetaste at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |winetaste at gmx.net

--- Comment #3 from winetaste at gmx.net ---
(In reply to Nikolay Sivov from comment #2)
> I believe it is an application bug. It handles tooltip notifications like
> this:
> 
> ---
>     case IDC_ABOUT:
>         utf8_to_wchar_no_alloc(lmprintf(MSG_302), wtooltip,
> ARRAYSIZE(wtooltip));
> 	lpttt->lpszText = wtooltip;
>         break;
> ---
> 
> wtooltip[] here is on stack in window procedure, handling notification.
> Returning pointers to it is not a good idea.

But it is working with native Windows. Does Wine not need to handle this?

Confirming for Wine 6.2

-- 
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.


More information about the wine-bugs mailing list