shell32: check result of HeapAlloc(), revised

James Hawkins truiken at gmail.com
Sun May 13 07:05:28 CDT 2007


On 5/13/07, hto at mail.cnt.ru <hto at mail.cnt.ru> wrote:
> Add an ERR() messages, save an indentation level.
>
> --- wine-0.9.37-orig/dlls/shell32/dataobject.c  2007-05-13 10:16:18.000000000 +0000
> +++ wine-0.9.37/dlls/shell32/dataobject.c       2007-05-13 10:51:50.000000000 +0000
> @@ -169,27 +169,29 @@ static const IEnumFORMATETCVtbl efvt =
>
>  LPENUMFORMATETC IEnumFORMATETC_Constructor(UINT cfmt, const FORMATETC afmt[])
>  {
> -    IEnumFORMATETCImpl* ef;
> -    DWORD size=cfmt * sizeof(FORMATETC);
> +       IEnumFORMATETCImpl* ef;
> +       DWORD size=cfmt * sizeof(FORMATETC);
>

Please don't change the indentation.  You have to stick with whatever
indentation exists for the file you're editing.

-- 
James Hawkins



More information about the wine-devel mailing list