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

One more fix

parent a1d4a041
...@@ -713,7 +713,7 @@ int main(int argc,char * argv[]) ...@@ -713,7 +713,7 @@ int main(int argc,char * argv[])
while (!ctfile.atEnd()) while (!ctfile.atEnd())
{ {
int l=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';
buf[l-1]='\r'; buf[l-1]='\r';
......
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