From 0081dd72467a15ef3f47033b18f667d7f1a508c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 28 Jun 2007 20:01:11 +0000 Subject: [PATCH] fixed FromAscii to work with NULL argument (broken after recent changes) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47012 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 77ace82f76..87e5613472 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -999,7 +999,7 @@ wxString wxString::FromAscii(const char *ascii, size_t len) wxString wxString::FromAscii(const char *ascii) { - return FromAscii(ascii, strlen(ascii)); + return FromAscii(ascii, wxStrlen(ascii)); } wxString wxString::FromAscii(const char ascii) -- 2.45.2