patch for sysparam.c

Robert Shearman rob at codeweavers.com
Wed Aug 29 02:33:03 CDT 2007


Ivan Sinitsin wrote:
> This patch adds an opportunity for fonts of the menu, statusbar and messages 
> to increase depending on logpixels.
>
>   

> +size=sizeof(DWORD);
> +RegOpenKeyExW( HKEY_LOCAL_MACHINE, registry_key,
> +                       0, KEY_QUERY_VALUE, &myhKey );
> +if (!RegQueryValueExW( myhKey, log_pixels, NULL, &type,
> +                              (LPBYTE) &logpixels, &size )==ERROR_SUCCESS)
> +                          logpixels=72;
> +ncm.lfMenuFont.lfHeight=-MulDiv(ncm.lfMenuFont.lfHeight,logpixels,72);
> +RegCloseKey( myhKey );

You're missing some indentation here.

-- 
Rob Shearman




More information about the wine-devel mailing list