Skip to content

Commit

Permalink
Fixup. [code]
Browse files Browse the repository at this point in the history
  • Loading branch information
dkager authored and bertfrees committed Jul 23, 2015
1 parent 077b7c7 commit 04d2adc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions liblouis/compileTranslationTable.c
Expand Up @@ -4932,9 +4932,12 @@ compileRule (FileInfo * nested)
if (!addRule
(nested, opcode, &ruleChars, &ruleDots, after, before))
ok = 0;
TranslationTableCharacter *c = compile_findCharOrDots(ruleChars.chars[0], 0);
if(c)
c->attributes |= CTC_NumericMode;
if(opcode == CTO_DecPoint)
{
TranslationTableCharacter *c = compile_findCharOrDots(ruleChars.chars[0], 0);
if(c)
c->attributes |= CTC_NumericMode;
}
}
// if(opcode != CTO_DecPoint)
// {
Expand Down

0 comments on commit 04d2adc

Please sign in to comment.