Tweaked the comments

This commit is contained in:
Robert Osfield
2011-06-27 21:33:38 +00:00
parent 0f9f891f72
commit e1bae2701a

View File

@@ -280,11 +280,10 @@ public:
if ( s==str ) return true;
else
{
// originally _in->seekg( -(int)(s.length()), std::ios::cur ); as used but
// problems under windows occurred when reading ascii files with unix line endings
// rather than ascii files with windows line endings. The workaround for this
// problem was to unget each of the characters in term, hacky yes, but at least it
// works!
// originally "_in->seekg( -(int)(s.length()), std::ios::cur );" was used below but
// problems under windows occurred when reading ascii files with unix line endings.
// The workaround for this problem was to unget each of the characters in term,
// hacky yes, but at least it works!
for (unsigned int i = 0; i < s.length(); ++i)
_in->unget();
}