Fixed COORD structure definition.
Fixed GetLargestConsoleWindowSize to not return a structure when
called from the Window binary.
diff --git a/debugger/editline.c b/debugger/editline.c
index 9acc704..0457319 100644
--- a/debugger/editline.c
+++ b/debugger/editline.c
@@ -30,6 +30,7 @@
#include <string.h>
#include "windef.h"
+#include "wincon.h"
#include "debugger.h"
/*
@@ -247,8 +248,8 @@
TTYinfo(void)
{
COORD c = GetLargestConsoleWindowSize(GetStdHandle(STD_INPUT_HANDLE));
- TTYwidth = c.x;
- TTYrows = c.y;
+ TTYwidth = c.X;
+ TTYrows = c.Y;
}