src/input.h

changeset 37
bcf624518909
parent 35
6c64b7a073af
child 55
54ea19938d57
     1.1 --- a/src/input.h	Thu Apr 10 11:44:55 2014 +0200
     1.2 +++ b/src/input.h	Thu Apr 10 12:10:09 2014 +0200
     1.3 @@ -79,8 +79,8 @@
     1.4   * @param len the length of the buffer
     1.5   * @return 0 if reading is in progress and 1 when a complete line is read
     1.6   */
     1.7 -#define asyncgetnstr(str,pos,len) mvwasyncgetnstr(stdscr, stdscr->_cury, \
     1.8 -    stdscr->_curx, str, pos, len)
     1.9 +#define asyncgetnstr(str,pos,len) mvwasyncgetnstr(stdscr, getcury(stdscr), \
    1.10 +    getcurx(stdscr), str, pos, len)
    1.11  
    1.12  
    1.13  #ifdef	__cplusplus

mercurial