Commit a1d4a041 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fix compile problem

parent 903cf7ca
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment