aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-04-08 13:11:57 +0000
committernyamatongwe <unknown>2003-04-08 13:11:57 +0000
commit976b283ceeb85d9b1b6937fd9ed9125f30ff4626 (patch)
treed3bd6f971df0545f491eb3f7eb7229fbe964bf0b
parentf814ef6056d4d663772b3bfa0cad6e5b4aefb1b5 (diff)
downloadscintilla-mirror-976b283ceeb85d9b1b6937fd9ed9125f30ff4626.tar.gz
Fixed warning in debug code.
-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));