[PATCH 1/2] localspl: Clear LastError on success in AddMonitor [v2]

Huw Davies huw at codeweavers.com
Wed Feb 8 03:05:52 CST 2017


Hi Detlef,

On Tue, Feb 07, 2017 at 11:22:35PM +0100, Detlef Riekenberg wrote:
>  dlls/localspl/provider.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/dlls/localspl/provider.c b/dlls/localspl/provider.c
> index f359b73..3a912b1 100644
> --- a/dlls/localspl/provider.c
> +++ b/dlls/localspl/provider.c
> @@ -1507,6 +1507,8 @@ static BOOL WINAPI fpAddMonitor(LPWSTR pName, DWORD Level, LPBYTE pMonitors)
>      }
>      monitor_unload(pm);
>  
> +    SetLastError(ERROR_SUCCESS); /* Monitor installer depend on this */

I've sent version 3 of this series in your name that fixes the typo in
this comment.

Thanks,
Huw.



More information about the wine-devel mailing list