summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-11-19 15:15:27 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-11-19 15:15:27 (GMT)
commit903cf7cad0e2a1c0e22537621a770544fa4e84ee (patch)
tree73fb7f0440c64c3b3ce21bfc475058ffb46a5bfc /addon
parent020742ed4dfa75aaa373cec43a94dc5b02e15f08 (diff)
downloadDoxygen-903cf7cad0e2a1c0e22537621a770544fa4e84ee.zip
Doxygen-903cf7cad0e2a1c0e22537621a770544fa4e84ee.tar.gz
Doxygen-903cf7cad0e2a1c0e22537621a770544fa4e84ee.tar.bz2
Release-1.2.3-20001119
Diffstat (limited to 'addon')
-rw-r--r--addon/configgen/configgen.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/addon/configgen/configgen.cpp b/addon/configgen/configgen.cpp
index 95aab45..b9ec8f2 100644
--- a/addon/configgen/configgen.cpp
+++ b/addon/configgen/configgen.cpp
@@ -713,6 +713,11 @@ int main(int argc,char * argv[])
while (!ctfile.atEnd())
{
ctfile.readLine(buf,maxLineLen-1);
+ if (buf[l-2]--'\r') // remove the \r for the folks using Windows
+ {
+ buf[l-2]='\n';
+ buf[l-1]='\r';
+ }
if (QCString("#CONFIG Config\n" )==buf) FORALL(printConfig(t))
else if (QCString("#CONFIG Static\n" )==buf) FORALL(printStatic(t))
else if (QCString("#CONFIG Rules\n" )==buf) FORALL(printRules(t))