X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f79cf73292f47d1d225297f53b1cfc30bda0462f..2e14066008229145e2da7b9f05a478ce38631f83:/src/common/fs_arc.cpp?ds=inline diff --git a/src/common/fs_arc.cpp b/src/common/fs_arc.cpp index 7203354982..bd6c244f4b 100644 --- a/src/common/fs_arc.cpp +++ b/src/common/fs_arc.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: fs_arc.cpp +// Name: src/common/fs_arc.cpp // Purpose: wxArchive file system // Author: Vaclav Slavik, Mike Wetherell // Copyright: (c) 1999 Vaclav Slavik, (c) 2006 Mike Wetherell @@ -358,7 +358,7 @@ wxFSFile* wxArchiveFSHandler::OpenFile( right = rightPart.GetFullPath(wxPATH_UNIX); } - if (right.Length() && right.GetChar(0) == wxT('/')) right = right.Mid(1); + if (!right.empty() && right.GetChar(0) == wxT('/')) right = right.Mid(1); if (!m_cache) m_cache = new wxArchiveFSCache;