From 9a63f34627d1c888b64b161eed8cd760260025dd Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Sun, 22 Feb 2004 12:51:32 +0000 Subject: [PATCH] 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 --- toolkit/tstring.cpp | 1 + 1 file changed, 1 insertion(+) 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: {