[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is_wintouched() and is_linetouched() cannot return ERR
From: |
Thomas Dickey |
Subject: |
Re: is_wintouched() and is_linetouched() cannot return ERR |
Date: |
Mon, 20 Nov 2017 18:53:05 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Nov 19, 2017 at 11:27:53PM +0900, Midolikawa H. wrote:
> Thanks for your explanation.
> I understood that is_wintouched() work correctly.
>
> About is_linetouched() :
> > ...; otherwise they return FALSE. In addi-
> > tion, is_linetouched returns ERR if line is not valid for
> > the given window.
>
> But, is_linetouched() returns 1 (neither 0 nor -1)
> if window pointer is null or if line is not valid,
> with that test code.
I see the problem now, and will provide a change to address this (thanks).
For your amusement:
https://gcc.gnu.org/ml/gcc-patches/2004-06/msg00838.html
http://yarchive.net/comp/linux/bool.html
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature