evas/textblock: Correct evas_textblock_text_utf8_to_markup docs
authorStefan Schmidt <s.schmidt@samsung.com>
Thu, 27 Mar 2014 11:25:44 +0000 (12:25 +0100)
committerStefan Schmidt <s.schmidt@samsung.com>
Thu, 27 Mar 2014 11:30:19 +0000 (12:30 +0100)
Input and output was documented in the wrong direction.This function
takes plain text and gives markup.

src/lib/evas/Evas_Legacy.h

index 3d1aa3e..1508544 100644 (file)
@@ -5614,8 +5614,8 @@ EAPI char                                    *evas_textblock_text_markup_to_utf8
  *
  * @param obj the textblock object to work with (if @c NULL, it just does the
  * default behaviour, i.e with no extra object information).
- * @param text The markup text (if @c NULL, return @c NULL).
- * @return An allocated plain text version of the markup.
+ * @param text The plain text (if @c NULL, return @c NULL).
+ * @return An allocated markup version of the plain text.
  * @since 1.2
  */
 EAPI char                                    *evas_textblock_text_utf8_to_markup(const Evas_Object *obj, const char *text) EINA_WARN_UNUSED_RESULT EINA_MALLOC;