fix variable shadowing

This commit is contained in:
Dane Springmeyer 2014-05-06 18:37:57 -07:00
parent 99bbb10290
commit 01d580d747

View file

@ -114,11 +114,11 @@ void text_itemizer::itemize_direction(unsigned start, unsigned end)
{
for(int i=0; i<count; ++i)
{
int32_t length;
int32_t vis_length;
int32_t run_start;
direction = ubidi_getVisualRun(bidi, i, &run_start, &length);
direction = ubidi_getVisualRun(bidi, i, &run_start, &vis_length);
run_start += start; //Add offset to compensate offset in setPara
direction_runs_.emplace_back(direction, run_start, run_start+length);
direction_runs_.emplace_back(direction, run_start, run_start+vis_length);
}
}
}