(TextStyle) Fix incorrect check regarding Font Weight 00/29400/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 27 Oct 2014 09:57:57 +0000 (09:57 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 27 Oct 2014 09:58:01 +0000 (09:58 +0000)
[Problem]  Test Case failing in Toolkit.
[Cause]    Copy/paste error in previous change.
[Solution] Fix.

Change-Id: Ie677bb3f805bcc7b1625e7a9a68e52778ca953b5

dali/public-api/text/text-style.cpp

index f7fbdf8..aea843c 100644 (file)
@@ -1426,7 +1426,7 @@ bool TextStyle::IsFontWeightDefault() const
 {
   if( mContainer )
   {
-    return( ( mContainer->mFlags & SMOOTH_EDGE_EXISTS ) == 0 );
+    return( ( mContainer->mFlags & FONT_WEIGHT_EXISTS ) == 0 );
   }
   else
   {