From: Sander Jansen Date: Sat, 16 May 2015 19:57:19 +0000 (-0500) Subject: remove redundant size specificier in mid usage X-Git-Tag: v1.11beta~64^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4a02a17991a857ad01d9ed61aad7da167faec4e;p=taglib remove redundant size specificier in mid usage --- diff --git a/taglib/ogg/xiphcomment.cpp b/taglib/ogg/xiphcomment.cpp index 15f8cbaf..431c7980 100644 --- a/taglib/ogg/xiphcomment.cpp +++ b/taglib/ogg/xiphcomment.cpp @@ -441,7 +441,7 @@ void Ogg::XiphComment::parse(const ByteVector &data) // Parse key and value String key = String(entry.mid(0,sep), String::UTF8); - String value = String(entry.mid(sep+1, commentLength-sep), String::UTF8); + String value = String(entry.mid(sep+1), String::UTF8); addField(key, value, false); } }