#18 leaveok() returns incorrect value

closed-fixed
Mark Hessling
5
2007-05-14
2002-11-02
No

I havn't checked 2.6, but this is probably still
outstanding.

#define keypad(w,flag) (w->_use_keypad = flag)
#define leaveok(w,flag) (w->_leaveit = flag)

should probably be changed to:

#define keypad(w,flag) (w->_use_keypad = flag,
OK)
#define leaveok(w,flag) (w->_leaveit = flag, OK)

Thanks, Warren.

Discussion

  • Mark Hessling
    Mark Hessling
    2003-01-08

    Logged In: YES
    user_id=86185

    Fixed in 2.6 (source) released today.

     
  • Mark Hessling
    Mark Hessling
    2003-01-08

    • status: open --> closed
     
    • status: closed --> closed-fixed