msi: Add an offset to sequence numbers belonging to files added by a patch. (try 2)

Hans Leidekker hans at codeweavers.com
Mon Mar 21 09:51:28 CDT 2011


On Mon, 2011-03-21 at 14:14 +0100, David Hedberg wrote:

> +static void msi_patch_offset_list_init(struct msi_patch_offset_list **pos)
> +{
> +    *pos = msi_alloc(sizeof(struct msi_patch_offset_list));
> +    list_init( &(*pos)->files );
> +    (*pos)->count = (*pos)->max = 0;
> +    (*pos)->min = 999999;
> +}

It would be nicer to have a _create function that returns an initialized
structure.





More information about the wine-devel mailing list