evas_text: fix default return value. 20/38720/1
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Thu, 23 Apr 2015 13:09:08 +0000 (22:09 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Mon, 27 Apr 2015 08:54:08 +0000 (17:54 +0900)
@fix

Change-Id: Iaedbb2f4973d997a17badab0400297db1f3f93b8
origin: upstream

src/lib/evas/canvas/evas_text.eo

index 56b6302..1614ca6 100644 (file)
@@ -320,7 +320,7 @@ class Evas.Text (Evas.Object, Efl.Text, Efl.Text_Properties)
    methods {
       last_up_to_pos @const {
          /*@ Returns the logical position of the last char in the text up to the pos given. this is NOT the position of the last char because of the possibility of RTL in the text. */
-         return: int;
+         return: int(-1);
          params {
             @in Evas_Coord x; /*@ in */
             @in Evas_Coord y; /*@ in */