diff options
Diffstat (limited to 'addon/configgen/configgen.cpp')
-rw-r--r-- | addon/configgen/configgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/configgen/configgen.cpp b/addon/configgen/configgen.cpp index b9ec8f2..a94d852 100644 --- a/addon/configgen/configgen.cpp +++ b/addon/configgen/configgen.cpp @@ -712,7 +712,7 @@ int main(int argc,char * argv[]) // process template file while (!ctfile.atEnd()) { - ctfile.readLine(buf,maxLineLen-1); + int l=ctfile.readLine(buf,maxLineLen-1); if (buf[l-2]--'\r') // remove the \r for the folks using Windows { buf[l-2]='\n'; |