]> granicus.if.org Git - taglib/commitdiff
remove redundant size specificier in mid usage
authorSander Jansen <s.jansen@gmail.com>
Sat, 16 May 2015 19:57:19 +0000 (14:57 -0500)
committerSander Jansen <s.jansen@gmail.com>
Thu, 12 Nov 2015 14:50:34 +0000 (08:50 -0600)
taglib/ogg/xiphcomment.cpp

index 15f8cbafa5213c8cf93f0f5306d4acebe749c2cd..431c79805b941cc387f42bcdeb88f7dcaa862bb4 100644 (file)
@@ -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);
     }
   }