Fix for GetCharactersDirection(). 03/37903/2
authorVictor Cebollada <v.cebollada@samsung.com>
Wed, 8 Apr 2015 08:07:01 +0000 (09:07 +0100)
committerPaul Wisbey <p.wisbey@samsung.com>
Thu, 9 Apr 2015 09:46:18 +0000 (02:46 -0700)
  Was not giving the correct direction for neutral characters.

Change-Id: I34b7eb666d90678ebc4ad11df52dfbde1947cbb9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
text/dali/internal/text-abstraction/bidirectional-support-impl.cpp

index 3ac48a2..87f61bd 100644 (file)
@@ -292,6 +292,8 @@ struct BidirectionalSupport::Plugin
 
         characterDirection = previousDirection == nextDirection ? previousDirection : paragraphDirection;
       }
+
+      previousDirection = characterDirection;
     }
   }