Remove unneeded check

This commit is contained in:
ergo720 2018-08-02 18:47:15 +02:00
parent 59f8bb1b67
commit 463b288335
1 changed files with 0 additions and 3 deletions

View File

@ -180,9 +180,6 @@ void unix2dos(std::string& string)
{
size_t position = 0;
while (true) {
if (position > string.length()) {
break;
}
position = string.find('\n', position);
if (position == std::string::npos) {
break;