diff options
author | nyamatongwe <unknown> | 2000-09-05 02:14:21 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-09-05 02:14:21 +0000 |
commit | 6d20c54ff42983715be4db0a9af4c03d21dd3757 (patch) | |
tree | 689b11a295d0615a3e4e64906ec50e69e8d7ce6f /win32/ScintillaWin.cxx | |
parent | 90a488667404e38f26f0e555dd7f3416842ad624 (diff) | |
download | scintilla-mirror-6d20c54ff42983715be4db0a9af4c03d21dd3757.tar.gz |
Support for DEBUG or NDEBUG defines to make assert work.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 741870a20..b7b10a261 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -7,6 +7,7 @@ #include <string.h> #include <stdio.h> #include <ctype.h> +#include <assert.h> #include "Platform.h" @@ -295,7 +296,7 @@ LRESULT ScintillaWin::WndPaint(unsigned long wParam) { paintState = painting; PAINTSTRUCT ps; PAINTSTRUCT* pps; - +//assert(wParam); bool IsOcxCtrl = (wParam != 0); // if wParam != 0, it contains // a PAINSTRUCT* from the OCX if(IsOcxCtrl) |