summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/language
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-11-09 15:02:39 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-11-09 15:02:39 +0000
commit0462ae7ddaae101fcc099379596419f084c70716 (patch)
treeb13f17db7f141da01e83680ef85f31b232b0f9c3 /src/lib/evas/common/language
parent9a673b2d4c4709b664377c102253df28c918488c (diff)
this is a new segv... get it with e17's language selector in wizard! :(
SVN revision: 79027
Diffstat (limited to 'src/lib/evas/common/language')
-rw-r--r--src/lib/evas/common/language/evas_bidi_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/common/language/evas_bidi_utils.c b/src/lib/evas/common/language/evas_bidi_utils.c
index 002cfbe6cb..0656d57371 100644
--- a/src/lib/evas/common/language/evas_bidi_utils.c
+++ b/src/lib/evas/common/language/evas_bidi_utils.c
@@ -50,8 +50,8 @@ _evas_bidi_fribidichar_to_unicode(Eina_Unicode *dest, const FriBidiChar *src)
50{ 50{
51 Eina_Unicode *ret = dest; 51 Eina_Unicode *ret = dest;
52 52
53 while (*src) 53 if ((!src) || (!dest)) return NULL;
54 *dest++ = *src++; 54 while (*src) *dest++ = *src++;
55 *dest = 0; 55 *dest = 0;
56 return ret; 56 return ret;
57} 57}
@@ -62,8 +62,8 @@ _evas_bidi_unicode_to_fribidichar(FriBidiChar *dest, const Eina_Unicode *src)
62{ 62{
63 FriBidiChar *ret = dest; 63 FriBidiChar *ret = dest;
64 64
65 while (*src) 65 if ((!src) || (!dest)) return NULL;
66 *dest++ = *src++; 66 while (*src) *dest++ = *src++;
67 *dest = 0; 67 *dest = 0;
68 return ret; 68 return ret;
69} 69}