]> granicus.if.org Git - taglib/commitdiff
Fix String::data() for UTF16 -- there was a missing break in the case
authorScott Wheeler <wheeler@kde.org>
Sun, 22 Feb 2004 12:51:32 +0000 (12:51 +0000)
committerScott Wheeler <wheeler@kde.org>
Sun, 22 Feb 2004 12:51:32 +0000 (12:51 +0000)
statement, so both the UTF16 and the UTF16BE versions were being executed.

CCMAIL:Ilya Konstantinov <future@shiny.co.il>

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@290210 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

toolkit/tstring.cpp

index d7ad062c12d0a5ddeebb59e8c76451cf6e7389ef..cb82b70b1012e3c6124b75028dfbbeb947eb116d 100644 (file)
@@ -312,6 +312,7 @@ ByteVector String::data(Type t) const
       v.append(c1);
       v.append(c2);
     }
+    break;
   }
   case UTF16BE:
   {