[Bug 49653] Pattern Maker for Cross Stitch always displays measurement in imperial system

WineHQ Bugzilla wine-bugs at winehq.org
Mon Aug 10 16:29:38 CDT 2020


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

--- Comment #10 from Fabian Maurer <dark.shadow4 at web.de> ---
Created attachment 67934
  --> https://bugs.winehq.org/attachment.cgi?id=67934
WIP Patch

Attaching a WIP patch, that makes the program respect the iMeasure setting from
the registry, and also the locale from LC_ALL.

Thanks for the bugreport and samples, you made debugging this pretty easy.
Problem is, that GetPrivateProfileStringA/W also need to search the registry.

See msdn:
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprivateprofilestring
(Paragraph "The profile functions use the following steps to locate
initialization information")

I'll work on a proper implementation with tests soon, in the meantime you can
use the WIP patch.

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