diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-28 00:40:23 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-28 00:40:23 +0900 |
| commit | c408dbba72b67be1a1251e5294e84b33224a3e9b (patch) | |
| tree | 8a8dde32da8867c417f9004399de6af7232e58c9 /src/UriListParser.cc | |
| parent | a743bef220f0b0564358f8efe7afedd9df143767 (diff) | |
Recognize tab as white space before option in -i list.
Diffstat (limited to 'src/UriListParser.cc')
| -rw-r--r-- | src/UriListParser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UriListParser.cc b/src/UriListParser.cc index af297a11..ace25336 100644 --- a/src/UriListParser.cc +++ b/src/UriListParser.cc @@ -75,7 +75,7 @@ void UriListParser::parseNext(std::vector<std::string>& uris, Option& op) break; } line_.assign(&buf[0], &buf[strlen(buf)]); - if(util::startsWith(line_, " ")) { + if(util::startsWith(line_, " ") || util::startsWith(line_, "\t")) { ss << line_ << "\n"; } else if(util::startsWith(line_, A2STR::SHARP_C)) { continue; |
