Commit 8d286928 authored by dimitri's avatar dimitri

Fix compile problem

parent f769c300
...@@ -712,7 +712,7 @@ int main(int argc,char * argv[]) ...@@ -712,7 +712,7 @@ int main(int argc,char * argv[])
// process template file // process template file
while (!ctfile.atEnd()) 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 if (buf[l-2]--'\r') // remove the \r for the folks using Windows
{ {
buf[l-2]='\n'; 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