Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Compiler warning after workers/39825



On Tue, 8 Nov 2016 10:01:49 +0000
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> diff --git a/Src/utils.c b/Src/utils.c
> index 733f570..d73110a 100644
> --- a/Src/utils.c
> +++ b/Src/utils.c
> @@ -5341,7 +5341,7 @@ mb_metastrlenend(char *ptr, int width, char *eptr)
>  	    inchar = *ptr;
>  	ptr++;
>  
> -	if (complete && (inchar >= 0 && inchar <= 0x7f)) {
> +	if (complete && (inchar >= 0 && STOUC(inchar) <= STOUC(0x7f))) {
                         ^^^^^^^^^^^^

This is now irrelevant, I'll remove that, too.

pws



Messages sorted by: Reverse Date, Date, Thread, Author