shell32: Don't dereference NULL pointers when tracing.

Octavian Voicu octavian.voicu at
Sun Sep 18 14:38:48 CDT 2011

On Sun, Sep 18, 2011 at 8:37 PM, Francois Gouget <fgouget at> wrote:
> +    TRACE("-- vmode %#x, flags %#x", view_params->pfs->ViewMode, view_params->pfs->fFlags);
> +    if (view_params->prcView)
> +        TRACE(", left %d, top %d, right %d, bottom %d", view_params->prcView->left,
> +              view_params->prcView->top, view_params->prcView->right, view_params->prcView->bottom);
> +    TRACE("\n");

I think it would look much nicer with wine_dbgstr_rect and it can
handle NULL pointers.


More information about the wine-devel mailing list