diff options
author | nyamatongwe <devnull@localhost> | 2003-04-08 13:11:57 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-04-08 13:11:57 +0000 |
commit | 4d2d7f4c2110dfba18d89b31dab591287d78ed24 (patch) | |
tree | d3bd6f971df0545f491eb3f7eb7229fbe964bf0b | |
parent | ce6e88e7766068020a71dde0fb866b4dd5e92327 (diff) | |
download | scintilla-mirror-4d2d7f4c2110dfba18d89b31dab591287d78ed24.tar.gz |
Fixed warning in debug code.
-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)); |