]> git.lizzy.rs Git - linenoise.git/commit
Fix first-chance exceptions in Windows
authorTad Marshall <tad@tadmarshall.com>
Mon, 17 Oct 2011 23:18:13 +0000 (19:18 -0400)
committerSteve Bennett <steveb@workware.net.au>
Mon, 30 Jan 2012 02:40:44 +0000 (12:40 +1000)
commit958fd447744018e39b9c80fe9b1fdf43b6b08e42
treeaa6d581d41c5bdd27a64ce98384727832c51faa4
parentf45c1e101209c2d33f0659b1c0810bb575c66713
Fix first-chance exceptions in Windows

A call to WriteConsoleOutputCharacter() didn't have its final parameter
set, passing a zero instead of a pointer to where to return the char count.
I added the same code that was there for FillConsoleOutputCharacter() and
FillConsoleOutputAttribute(), just allocate a dummy 'n' and pass its address.
linenoise.c