Dick Buitelaar: Fix DevCpp Backend (Bug 802)

svn path=/trunk/; revision=18828
This commit is contained in:
Maarten Bosma 2005-10-28 10:22:24 +00:00
parent c89514fbae
commit 013ca43155

View file

@ -152,7 +152,7 @@ bool FileExists(string &filename)
void DevCppBackend::ProcessFile(string &filepath)
{
// Remove the .\ at the start of the filenames
filepath.erase(0, 2);
if ((filepath[0] == '.') && (filepath[1] == '\\')) filepath.erase(0, 2);
if(!FileExists(filepath))
return;