From a1d4a04161a0a77e0c4a0d6051dbbf544c10f58d Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch 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