From: Scott Wheeler Date: Sun, 22 Feb 2004 12:51:32 +0000 (+0000) Subject: Fix String::data() for UTF16 -- there was a missing break in the case X-Git-Tag: v1.5~430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a63f34627d1c888b64b161eed8cd760260025dd;p=taglib Fix String::data() for UTF16 -- there was a missing break in the case statement, so both the UTF16 and the UTF16BE versions were being executed. CCMAIL:Ilya Konstantinov git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@290210 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/toolkit/tstring.cpp b/toolkit/tstring.cpp index d7ad062c..cb82b70b 100644 --- a/toolkit/tstring.cpp +++ b/toolkit/tstring.cpp @@ -312,6 +312,7 @@ ByteVector String::data(Type t) const v.append(c1); v.append(c2); } + break; } case UTF16BE: {