diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-11-19 15:15:27 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-11-19 15:15:27 (GMT) |
commit | f769c300f488c8ab450622701dcebee19e2dc332 (patch) | |
tree | 73fb7f0440c64c3b3ce21bfc475058ffb46a5bfc /addon | |
parent | dd4999a16d69ec0784e2e2bd43f22fbaf4451f1f (diff) | |
download | Doxygen-f769c300f488c8ab450622701dcebee19e2dc332.zip Doxygen-f769c300f488c8ab450622701dcebee19e2dc332.tar.gz Doxygen-f769c300f488c8ab450622701dcebee19e2dc332.tar.bz2 |
Release-1.2.3-20001119
Diffstat (limited to 'addon')
-rw-r--r-- | addon/configgen/configgen.cpp | 5 |
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)) |