summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-04-04 12:38:38 -0400
committerdwight <dwight@10gen.com>2011-04-04 12:38:38 -0400
commit1d46a7e4baa781c32e770988f6cafa803f3ef190 (patch)
tree53f9ac482bdeb575cdcff62a1950ef861b9f727c /third_party
parentf3c3435f0301d88816b0b92fcd33cd887ea3ac5c (diff)
downloadmongo-1d46a7e4baa781c32e770988f6cafa803f3ef190.tar.gz
towards compact cmd still in prog
Diffstat (limited to 'third_party')
-rw-r--r--third_party/linenoise/linenoise_win32.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/linenoise/linenoise_win32.cpp b/third_party/linenoise/linenoise_win32.cpp
index 68b58d44197..0a2c33485b1 100644
--- a/third_party/linenoise/linenoise_win32.cpp
+++ b/third_party/linenoise/linenoise_win32.cpp
@@ -73,7 +73,8 @@ static void output(const char* str,
int y)
{
COORD pos = { (SHORT)x, (SHORT)y };
- WriteConsoleOutputCharacterA(console_out, str, len, pos, 0);
+ DWORD count = 0;
+ WriteConsoleOutputCharacterA(console_out, str, len, pos, &count);
}
static void refreshLine(const char* prompt,