don't try to get the previous character to position 0
SVN revision: 11208
This commit is contained in:
parent
f4208aa56c
commit
7cde671ea0
|
@ -1251,7 +1251,7 @@ evas_string_char_prev_get(const char *str, int pos, int *decoded)
|
|||
|
||||
if (decoded) *decoded = 0;
|
||||
if (!str) return 0;
|
||||
if (pos < 0) return 0;
|
||||
if (pos < 1) return 0;
|
||||
p = pos;
|
||||
d = evas_common_font_utf8_get_prev((char *)str, &p);
|
||||
if (decoded) *decoded = d;
|
||||
|
|
Loading…
Reference in New Issue