[PATCH] winspool.drv: return success in AddPrintProcessorA

Huw Davies huw at codeweavers.com
Mon May 4 02:36:22 CDT 2020


On Thu, Apr 30, 2020 at 03:09:39PM -0500, Austin English wrote:
> This syncs the return value with AddPrintProcessorW
> 
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=26171
> Signed-off-by: Austin English <austinenglish at gmail.com>
> ---
>  dlls/winspool.drv/info.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
> index 593f091c2d..0ddca147e6 100644
> --- a/dlls/winspool.drv/info.c
> +++ b/dlls/winspool.drv/info.c
> @@ -5405,7 +5405,7 @@ BOOL WINAPI AddPrintProcessorA(LPSTR pName, LPSTR pEnvironment, LPSTR pPathName,
>  {
>      FIXME("(%s,%s,%s,%s): stub\n", debugstr_a(pName), debugstr_a(pEnvironment),
>            debugstr_a(pPathName), debugstr_a(pPrintProcessorName));
> -    return FALSE;
> +    return TRUE;
>  }
>  
>  /*****************************************************************************

Hi Austin,

It should be easy to forward this to AddPrintProcessorW() (which
conveniently returns TRUE already), so let's do that instead.

Huw.



More information about the wine-devel mailing list