Merge "Update contents of programming guide" into tizen
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Thu, 28 May 2015 09:59:01 +0000 (02:59 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 28 May 2015 09:59:01 +0000 (02:59 -0700)
dali-toolkit/internal/text/multi-language-support-impl.cpp

index f4fdd18..47db1e2 100644 (file)
@@ -455,8 +455,7 @@ void MultilanguageSupport::ValidateFonts( const Vector<Character>& text,
         {
           validateFontsPerScript = new ValidateFontsPerScript();
 
-          mValidFontsPerScriptCache.PushBack( validateFontsPerScript );
-          validFontsPerScriptCacheBuffer = mValidFontsPerScriptCache.Begin();
+          *( validFontsPerScriptCacheBuffer + script ) = validateFontsPerScript;
         }
 
         if( NULL != validateFontsPerScript )