[PATCH] comctl32: Fix ASCII / ANSI mixups in comments.

Nikolay Sivov nsivov at codeweavers.com
Fri Aug 27 05:40:14 CDT 2021



On 8/27/21 1:37 PM, Francois Gouget wrote:
> Signed-off-by: Francois Gouget <fgouget at free.fr>
> ---
>  dlls/comctl32/listview.c | 2 +-
>  dlls/comctl32/toolbar.c  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
> index 8cbfee834ce..88b42db4c41 100644
> --- a/dlls/comctl32/listview.c
> +++ b/dlls/comctl32/listview.c
> @@ -6101,7 +6101,7 @@ static HWND CreateEditLabelT(LISTVIEW_INFO *infoPtr, LPCWSTR text, BOOL isW)
>   * PARAMETER(S):
>   * [I] infoPtr : valid pointer to the listview structure
>   * [I] nItem : item index
> - * [I] isW : TRUE if it's a Unicode req, FALSE if ASCII
> + * [I] isW : TRUE if it's a Unicode req, FALSE if ANSI
>   *
>   * RETURN:
>   *   SUCCESS : TRUE
I'd rather remove this whole header.
> diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
> index 2585e11530e..cf1dc42449b 100644
> --- a/dlls/comctl32/toolbar.c
> +++ b/dlls/comctl32/toolbar.c
> @@ -156,7 +156,7 @@ typedef struct
>      BOOL     bAnchor;         /* anchor highlight enabled */
>      BOOL     bDoRedraw;       /* Redraw status */
>      BOOL     bDragOutSent;    /* has TBN_DRAGOUT notification been sent for this drag? */
> -    BOOL     bUnicode;        /* Notifications are ASCII (FALSE) or Unicode (TRUE)? */
> +    BOOL     bUnicode;        /* Notifications are ANSI (FALSE) or Unicode (TRUE)? */
>      BOOL     bCaptured;       /* mouse captured? */
>      DWORD      dwStyle;       /* regular toolbar style */
>      DWORD      dwExStyle;     /* extended toolbar style */




More information about the wine-devel mailing list