summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_text_utils.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-12-30 18:13:32 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-07 15:38:42 +0900
commit160d0125593ae79706e6bffa229fcfae24e0ec49 (patch)
treee1aeabdc72486e2b42b196da51c5f5ed2fc777c9 /src/lib/evas/common/evas_text_utils.h
parent2928a2d2dab83343c768019fba247be65620e0af (diff)
Evas text utils: Check syntax in color parse
If the color string is not correct (ie. not #RRGGBBAA, #RGBA, #RGB, #RRGGBB), return an error.
Diffstat (limited to 'src/lib/evas/common/evas_text_utils.h')
-rw-r--r--src/lib/evas/common/evas_text_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_text_utils.h b/src/lib/evas/common/evas_text_utils.h
index 96f78cad56..e54046dbf2 100644
--- a/src/lib/evas/common/evas_text_utils.h
+++ b/src/lib/evas/common/evas_text_utils.h
@@ -188,6 +188,6 @@ EAPI void
188evas_common_text_props_merge(Evas_Text_Props *item1, const Evas_Text_Props *item2); 188evas_common_text_props_merge(Evas_Text_Props *item1, const Evas_Text_Props *item2);
189 189
190/* Common to Textblock and Filters */ 190/* Common to Textblock and Filters */
191void evas_common_format_color_parse(const char *str, int slen, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a); 191Eina_Bool evas_common_format_color_parse(const char *str, int slen, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a);
192 192
193#endif 193#endif