From 8d286928c79339b6d315ef7a024fffdbf3bcc85d Mon Sep 17 00:00:00 2001 From: dimitri Date: Wed, 22 Nov 2000 19:14:22 +0000 Subject: Fix compile problem --- addon/configgen/configgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- cgit v0.12