forked from enlightenment/efl
parent
76243ee847
commit
988e608f74
|
@ -253,8 +253,8 @@ evas_common_font_query_text_at_pos(RGBA_Font *fn, const char *text, int x, int y
|
||||||
chr_w += (chr_x - prev_chr_end);
|
chr_w += (chr_x - prev_chr_end);
|
||||||
chr_x = prev_chr_end;
|
chr_x = prev_chr_end;
|
||||||
}
|
}
|
||||||
if ((x >= chr_x) && (x <= (chr_x + chr_w)) &&
|
if ((x >= chr_x) && (x < (chr_x + chr_w)) &&
|
||||||
(y > -asc) && (y < desc))
|
(y >= -asc) && (y < desc))
|
||||||
{
|
{
|
||||||
if (cx) *cx = chr_x;
|
if (cx) *cx = chr_x;
|
||||||
if (cy) *cy = -asc;
|
if (cy) *cy = -asc;
|
||||||
|
|
Loading…
Reference in New Issue