diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-02-14 23:34:56 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-02-14 23:34:56 +0100 |
commit | 83742b3cf4b541fd61533dfecdc97e0e4502a7a4 (patch) | |
tree | 4b6be75f1471e6b406989dcc102754c996bad50d /apt-pkg/contrib/strutl.cc | |
parent | ee60a63480f7d1a963d7ef2a8e399d0f9b651d71 (diff) |
Add support for the LANGUAGE environment variable
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index b285a9f2e..d3d6e2739 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -1012,7 +1012,7 @@ vector<string> ExplodeString(string const &haystack, char const &split) { do { for (; end != haystack.end() && *end != split; ++end); exploded.push_back(string(start, end)); - start = end; + start = end + 1; } while (end != haystack.end() && (++end) != haystack.end()); return exploded; } |