mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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('/');
|
||||
|
||||
Reference in New Issue
Block a user