Moved some more functions from CUtils into CString

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@246 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-07 11:42:10 +00:00
parent 11ae1b690f
commit 078bbcf019
9 changed files with 200 additions and 232 deletions

View File

@@ -7,8 +7,8 @@ CFile::CFile(const CString& sLongName) {
m_sShortName = sLongName;
// @todo shouldn't this be Right() and RightChomp() ?!
while (CUtils::Left(m_sShortName, 1) == "/") {
CUtils::LeftChomp(m_sShortName);
while (m_sShortName.Left(1) == "/") {
m_sShortName.LeftChomp();
}
CString::size_type uPos = m_sShortName.rfind('/');