]> granicus.if.org Git - taglib/commitdiff
Bug in UTF-8 rendering. Small change, but well, without the "break;" it was doing
authorScott Wheeler <wheeler@kde.org>
Mon, 25 Jul 2005 21:34:18 +0000 (21:34 +0000)
committerScott Wheeler <wheeler@kde.org>
Mon, 25 Jul 2005 21:34:18 +0000 (21:34 +0000)
the UTF-8 rendering and the UTF16-LE rendering to the same string, which was, well,
ungood.

(Sorry Dan, that's bad news for those files -- but this bug was only introduced 4
days ago, so it just hadn't been caught yet.)

BUG:109604

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

toolkit/tstring.cpp

index 16169bbcf7fdc0372c9883f7449d5b9d2205cf3c..1707a9474db924a238735840a88b4e8930df6ad4 100644 (file)
@@ -697,6 +697,8 @@ void String::prepare(Type t)
 
     delete [] sourceBuffer;
     delete [] targetBuffer;
+
+    break;
   }
   case UTF16LE:
   {