mirror of
https://github.com/taglib/taglib.git
synced 2025-07-17 20:44:20 -04:00
Here's another easy one that helps out on ginormus strings.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@552198 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -84,11 +84,12 @@ String StringList::toString(const String &separator) const
|
||||
String s;
|
||||
|
||||
ConstIterator it = begin();
|
||||
ConstIterator itEnd = end();
|
||||
|
||||
while(it != end()) {
|
||||
while(it != itEnd) {
|
||||
s += *it;
|
||||
it++;
|
||||
if(it != end())
|
||||
if(it != itEnd)
|
||||
s += separator;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user