From 422d020d999560a996cee38c2b46fbae565656b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 9 Oct 2006 18:47:20 +0000 Subject: [PATCH] fixed the check in previous commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/string.cpp b/src/common/string.cpp index 1cb717510f..c2bab603e2 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -174,7 +174,7 @@ void wxStringBase::InitWith(const wxChar *psz, size_t nPos, size_t nLength) // poor man's iterators are "void *" pointers wxStringBase::wxStringBase(const void *pStart, const void *pEnd) { - if ( pEnd > pStart ) + if ( pEnd >= pStart ) { InitWith((const wxChar *)pStart, 0, (const wxChar *)pEnd - (const wxChar *)pStart); -- 2.50.0