Commit 40018ffb authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

src/bidi.c (bidi_find_bracket_pairs): Avoid a loop that does nothing useful.

parent 10471ae3
2014-10-16 Eli Zaretskii <eliz@gnu.org>
* bidi.c (bidi_find_bracket_pairs): Avoid a loop that does nothing
useful.
2014-10-15 Paul Eggert <eggert@cs.ucla.edu>
 
* bidi.c (bidi_find_bracket_pairs): Initialize local var.
......
......@@ -2472,8 +2472,11 @@ bidi_find_bracket_pairs (struct bidi_it *bidi_it)
default:
break;
}
for (sp = bpa_sp; sp >= 0; sp--)
bpa_stack[sp].flags |= flag;
if (flag)
{
for (sp = bpa_sp; sp >= 0; sp--)
bpa_stack[sp].flags |= flag;
}
}
old_sidx = bidi_it->stack_idx;
type = bidi_resolve_weak (bidi_it);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment