aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-04-08 13:11:57 +0000
committernyamatongwe <devnull@localhost>2003-04-08 13:11:57 +0000
commit4d2d7f4c2110dfba18d89b31dab591287d78ed24 (patch)
treed3bd6f971df0545f491eb3f7eb7229fbe964bf0b /src
parentce6e88e7766068020a71dde0fb866b4dd5e92327 (diff)
downloadscintilla-mirror-4d2d7f4c2110dfba18d89b31dab591287d78ed24.tar.gz
Fixed warning in debug code.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
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));