diff options
author | nyamatongwe <unknown> | 2003-04-08 13:11:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-08 13:11:57 +0000 |
commit | 976b283ceeb85d9b1b6937fd9ed9125f30ff4626 (patch) | |
tree | d3bd6f971df0545f491eb3f7eb7229fbe964bf0b /src | |
parent | f814ef6056d4d663772b3bfa0cad6e5b4aefb1b5 (diff) | |
download | scintilla-mirror-976b283ceeb85d9b1b6937fd9ed9125f30ff4626.tar.gz |
Fixed warning in debug code.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 85cac79ea..b126c8904 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5635,7 +5635,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { break; case SCI_TEXTWIDTH: - PLATFORM_ASSERT((wParam >= 0) && (wParam <= STYLE_MAX)); + PLATFORM_ASSERT(wParam <= STYLE_MAX); PLATFORM_ASSERT(lParam); return TextWidth(wParam, CharPtrFromSPtr(lParam)); |