Recognize tab as white space before option in -i list.

pull/2/head
Tatsuhiro Tsujikawa 2011-08-28 00:40:23 +09:00
parent a743bef220
commit c408dbba72
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ void UriListParser::parseNext(std::vector<std::string>& uris, Option& op)
break; break;
} }
line_.assign(&buf[0], &buf[strlen(buf)]); line_.assign(&buf[0], &buf[strlen(buf)]);
if(util::startsWith(line_, " ")) { if(util::startsWith(line_, " ") || util::startsWith(line_, "\t")) {
ss << line_ << "\n"; ss << line_ << "\n";
} else if(util::startsWith(line_, A2STR::SHARP_C)) { } else if(util::startsWith(line_, A2STR::SHARP_C)) {
continue; continue;