fix variable shadowing
This commit is contained in:
parent
99bbb10290
commit
01d580d747
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue