diff options
author | nyamatongwe <unknown> | 2000-09-05 11:40:31 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-09-05 11:40:31 +0000 |
commit | bb771676a9da19912e9de322250447d9e59b80ce (patch) | |
tree | 97332aba01d0ee91938f4c0a9b0c8a3a40da5362 /win32/ScintillaWin.cxx | |
parent | 6d20c54ff42983715be4db0a9af4c03d21dd3757 (diff) | |
download | scintilla-mirror-bb771676a9da19912e9de322250447d9e59b80ce.tar.gz |
makefile_vc and makefile_bor are replaced with scintilla.mak
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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<PAINTSTRUCT*>(wParam); |