From 5a17ae77065d1bc65a299c3fe5555177c7d2a3fc Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 11 Oct 2000 23:17:04 +0000 Subject: [PATCH] backported wxStrtok() fix from the main branch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wxchar.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index fc5860b69c..f9e73aed8a 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -171,10 +171,6 @@ int WXDLLEXPORT wxStricmp(const wxChar *psz1, const wxChar *psz2) #ifndef wxStrtok WXDLLEXPORT wxChar * wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_ptr) { - if (!(save_ptr && *save_ptr)) { - return (wxChar *) NULL; - } - if (!psz) psz = *save_ptr; psz += wxStrspn(psz, delim); if (!*psz) {