projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c89514f
)
Dick Buitelaar: Fix DevCpp Backend (Bug 802)
author
Maarten Bosma
<maarten@bosma.de>
Fri, 28 Oct 2005 10:22:24 +0000
(10:22 +0000)
committer
Maarten Bosma
<maarten@bosma.de>
Fri, 28 Oct 2005 10:22:24 +0000
(10:22 +0000)
svn path=/trunk/; revision=18828
reactos/tools/rbuild/backend/devcpp/devcpp.cpp
patch
|
blob
|
history
diff --git
a/reactos/tools/rbuild/backend/devcpp/devcpp.cpp
b/reactos/tools/rbuild/backend/devcpp/devcpp.cpp
index
a105111
..
7ee416f
100644
(file)
--- 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;