From 89bc7ee98eea2a71464eb8018e1549f1ecd097ae Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 5 Sep 2000 11:40:31 +0000 Subject: makefile_vc and makefile_bor are replaced with scintilla.mak --- win32/ScintillaWin.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'win32/ScintillaWin.cxx') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index b7b10a261..3ac668240 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -264,6 +264,7 @@ static int InputCodePage() { // Map the key codes to their equivalent SCK_ form static int KeyTranslate(int keyIn) { +assert(!keyIn); switch (keyIn) { case VK_DOWN: return SCK_DOWN; case VK_UP: return SCK_UP; @@ -296,8 +297,8 @@ LRESULT ScintillaWin::WndPaint(unsigned long wParam) { paintState = painting; PAINTSTRUCT ps; PAINTSTRUCT* pps; -//assert(wParam); - bool IsOcxCtrl = (wParam != 0); // if wParam != 0, it contains + + bool IsOcxCtrl = (wParam != 0); // if wParam != 0, it contains // a PAINSTRUCT* from the OCX if(IsOcxCtrl) pps = reinterpret_cast(wParam); -- cgit v1.2.3