Fixed checks
Merge pull request #87 from WouterJ/patch-1

Fixed checks in Text#getLine