Dick Buitelaar: Fix DevCpp Backend (Bug 802)
Modified: trunk/reactos/tools/rbuild/backend/devcpp/devcpp.cpp
_____
Modified: trunk/reactos/tools/rbuild/backend/devcpp/devcpp.cpp
--- trunk/reactos/tools/rbuild/backend/devcpp/devcpp.cpp
2005-10-28 09:49:45 UTC (rev 18827)
+++ trunk/reactos/tools/rbuild/backend/devcpp/devcpp.cpp
2005-10-28 10:22:24 UTC (rev 18828)
@@ -152,7 +152,7 @@
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;