[1/2] twain_32: Add debug traces to TWAIN_UserSelect.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Oct 10 02:05:01 CDT 2017


Hi Vincent,

On 10/10/17 07:57, Vincent Povirk wrote:
> Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
> ---
>  dlls/twain_32/dsm_ctrl.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/dlls/twain_32/dsm_ctrl.c b/dlls/twain_32/dsm_ctrl.c
> index b71c112..54bd9fa 100644
> --- a/dlls/twain_32/dsm_ctrl.c
> +++ b/dlls/twain_32/dsm_ctrl.c
> @@ -263,12 +263,17 @@ TW_UINT16 TWAIN_UserSelect (pTW_IDENTITY pOrigin, TW_MEMREF pData)
>  {
>  	pTW_IDENTITY	selected = (pTW_IDENTITY)pData;
>  
> +    TRACE("DG_CONTROL/DAT_IDENTITY/MSG_USERSELECT SupportedGroups=0x%x ProductName=%s\n",
> +        selected->SupportedGroups, wine_dbgstr_a(selected->ProductName));
> +
This patch makes the indentation of this function hard to read.  Would
it be better
to just reformat this function to be like the reset of the file.

Best Regards
 Alistair.




More information about the wine-devel mailing list