diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Decoration.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx index 72c7a331f..e7610e0b6 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -163,7 +163,9 @@ int DecorationList::AllOnFor(int position) const { int mask = 0; for (Decoration *deco=root; deco; deco = deco->next) { if (deco->rs.ValueAt(position)) { - mask |= 1 << deco->indicator; + if (deco->indicator < INDIC_IME) { + mask |= 1 << deco->indicator; + } } } return mask; |