(render_glyph_string): If from == to, just return.
}
*from_idx = *to_idx = 0;
}
*from_idx = *to_idx = 0;
while (g->type != GLYPH_ANCHOR)
{
if (g->pos >= from && g->pos < to)
while (g->type != GLYPH_ANCHOR)
{
if (g->pos >= from && g->pos < to)
int from_idx, to_idx;
int to_x;
int from_idx, to_idx;
int to_x;
+ if (from == to)
+ return;
if (control->orientation_reversed)
x -= gstring->indent + gstring_width (gstring, from, to, NULL, NULL);
else
if (control->orientation_reversed)
x -= gstring->indent + gstring_width (gstring, from, to, NULL, NULL);
else