Code

Work around a regression in Windows 7, causing erase_in_line() to crash sometimes
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 1 Jun 2009 06:04:16 +0000 (08:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2009 07:08:54 +0000 (00:08 -0700)
The function FillConsoleOutputCharacterA() was pretty content in XP to take a NULL
pointer if we did not want to store the number of written columns.  In Windows 7,
it crashes, but only when called from within Git Bash, not from within cmd.exe.
Go figure.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

No differences found