[PATCH 4/6] gdi32: Get stock objects directly from GDI_SHARED_MEMORY in GetStockObject.

Huw Davies huw at codeweavers.com
Fri Sep 3 08:01:02 CDT 2021


On Fri, Sep 03, 2021 at 02:29:08PM +0200, Jacek Caban wrote:
> -static HGDIOBJ make_stock_object( HGDIOBJ obj )
> +static void init_stock_objects(void)
>  {
> -    GDI_HANDLE_ENTRY *entry;
> +    const struct DefaultFontInfo *deffonts;
> +    unsigned int i;
> +    HGDIOBJ obj;
> +
> +    /* Create stock objects on order matching stock object macros,
> +     * so that they use predictable handle slots. Our GetStockObject
> +     * depends on it. */

s/on order/in order/

I've sent in v2.

Huw.



More information about the wine-devel mailing list