gdi32: Fix the GdiGetCodePage() support ANSI_CHARSET font associated charset

Akihiro Sagawa sagawa.aki at
Tue Feb 26 05:47:09 CST 2013

On Tue, 26 Feb 2013 10:42:14 +0900, Byeongsik Jeon wrote:
> > This condition should be rewritten. buf is not initialized when
> > RegQueryValueExA is failed in line 3542. And strcmp(buf, cpbuf) has
> > already done in line 3544.
> > 
> I wanted to update in registry when codepages changed, not logpixels. When
> logpixels has been changed, MS-Windows does not update the font associated
> charset registry. "memset(buf, 0, sizeof(buf))" has been added.

Good work. I got it.

Including other changes, it looks good for me.
Please send your patch to wine-patches.

Akihiro Sagawa

More information about the wine-devel mailing list