summaryrefslogtreecommitdiffstats
path: root/addon/configgen
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-11-19 15:15:27 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-11-19 15:15:27 (GMT)
commitf769c300f488c8ab450622701dcebee19e2dc332 (patch)
tree73fb7f0440c64c3b3ce21bfc475058ffb46a5bfc /addon/configgen
parentdd4999a16d69ec0784e2e2bd43f22fbaf4451f1f (diff)
downloadDoxygen-f769c300f488c8ab450622701dcebee19e2dc332.zip
Doxygen-f769c300f488c8ab450622701dcebee19e2dc332.tar.gz
Doxygen-f769c300f488c8ab450622701dcebee19e2dc332.tar.bz2
Release-1.2.3-20001119
Diffstat (limited to 'addon/configgen')
-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))