s/not exists/not exist

This commit is contained in:
2016-06-25 16:54:24 -04:00
parent 7ded72f6ee
commit c557f60e74
3 changed files with 4 additions and 4 deletions

View File

@ -127,10 +127,10 @@ bool CFile::Open(const char * lpszFileName, uint32_t nOpenFlags)
if ((nOpenFlags & CFileBase::modeCreate) != CFileBase::modeCreate)
{
printf("Checking if %s exists\n",lpszFileName);
printf("Checking if %s exists...\n",lpszFileName);
if (!CPath(lpszFileName).Exists())
{
printf("%s does not exists\n",lpszFileName);
printf("%s does not exist.\n",lpszFileName);
return false;
}
}

View File

@ -985,7 +985,7 @@ bool CPath::Delete(bool bEvenIfReadOnly) const
uint32_t dwAttr = ::GetFileAttributes(m_strPath.c_str());
if (dwAttr == (uint32_t)-1)
{
// File does not exists
// File does not exist.
return false;
}

View File

@ -69,7 +69,7 @@ void CSettingTypeApplication::Initialize(const char * /*AppName*/)
CPath BaseDir(g_Settings->LoadStringVal(Cmd_BaseDirectory).c_str(), "");
if (!BaseDir.DirectoryExists())
{
WriteTrace(TraceAppInit, TraceDebug, "BaseDir does not exists, doing nothing");
WriteTrace(TraceAppInit, TraceDebug, "BaseDir does not exist. Doing nothing.");
WriteTrace(TraceAppInit, TraceDebug, "Done");
return;
}