Fix infloop of -nw session at exit on MS-Windows under a debugger.
authorEli Zaretskii <eliz@gnu.org>
Wed, 4 Jun 2014 10:54:58 +0000 (13:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 4 Jun 2014 10:54:58 +0000 (13:54 +0300)
commit6032a3e83129a086629b96e67459083a223a1e03
treed93bcc934d9b2cb0453308f94d971b521bf67a8b
parentd13adf6ddc858a988f88233fe6d73a8ca4a87cf7
Fix infloop of -nw session at exit on MS-Windows under a debugger.

 src/sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter
 contains garbage on WINDOWSNT (which could potentially infloop at
 exit).
src/ChangeLog
src/sysdep.c