diff options
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));  | 
