coryshrmn / websitecatalog

0 stars 1 forks source link

Incorrect result for countLines() #20

Closed ghost closed 11 years ago

ghost commented 11 years ago

When there is only one single line of input source file, there's an error.

SUGGESTION: fix conditional statement for function call of countLines() or change return as boolean value on any single character read.

ghost commented 11 years ago

Fixed.