From 013ca4315551004fee3286e98a9768b3144fb5bf Mon Sep 17 00:00:00 2001 From: Maarten Bosma Date: Fri, 28 Oct 2005 10:22:24 +0000 Subject: [PATCH] Dick Buitelaar: Fix DevCpp Backend (Bug 802) svn path=/trunk/; revision=18828 --- reactos/tools/rbuild/backend/devcpp/devcpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/backend/devcpp/devcpp.cpp b/reactos/tools/rbuild/backend/devcpp/devcpp.cpp index a1051114e35..7ee416f3039 100644 --- a/reactos/tools/rbuild/backend/devcpp/devcpp.cpp +++ b/reactos/tools/rbuild/backend/devcpp/devcpp.cpp @@ -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;