If you pass invalid line number to IsValidLine it returns false

feature/19
Daniel Warner 2011-05-27 16:03:11 +00:00
parent f60b1544a8
commit cd21f739ae
1 changed files with 2 additions and 0 deletions

2
Tle.cpp Normal file → Executable file
View File

@ -199,6 +199,8 @@ bool Tle::IsValidLine(const std::string& str, const unsigned char line_number) {
} else if (2 == line_number) {
if (!ValidateLine(str, line2_pattern))
return false;
} else {
return false;
}
/*