diff options
| author | nyamatongwe <devnull@localhost> | 2000-09-05 02:14:21 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-09-05 02:14:21 +0000 |
| commit | 6f93953d62a1f7a4b3c28b15705ec91c42d554b5 (patch) | |
| tree | 689b11a295d0615a3e4e64906ec50e69e8d7ce6f /win32/ScintillaWin.cxx | |
| parent | cda6b55ff6a18e5ad94efc5ae9ee601a1e06bde8 (diff) | |
| download | scintilla-mirror-6f93953d62a1f7a4b3c28b15705ec91c42d554b5.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) |
