evas_text: fix default return value.
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>
Thu, 23 Apr 2015 13:11:32 +0000 (22:11 +0900)
@fix

src/lib/evas/canvas/evas_text.eo

index 1d42333..520db77 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 */