forked from mirror/openmw-tes3mp
Do not display cyrillic soft/hard signs in the journal index
This commit is contained in:
parent
b6ae7f3cc8
commit
29b2308b2c
1 changed files with 2 additions and 2 deletions
|
@ -281,6 +281,8 @@ BookTypesetter::Ptr JournalBooks::createCyrillicJournalIndex ()
|
|||
textColours.journalTopicOver,
|
||||
textColours.journalTopicPressed, first);
|
||||
|
||||
ch[1]++;
|
||||
|
||||
// Words can not be started with these characters
|
||||
if (i == 26 || i == 28)
|
||||
continue;
|
||||
|
@ -290,8 +292,6 @@ BookTypesetter::Ptr JournalBooks::createCyrillicJournalIndex ()
|
|||
|
||||
typesetter->write (style, to_utf8_span (buffer));
|
||||
typesetter->lineBreak ();
|
||||
|
||||
ch[1]++;
|
||||
}
|
||||
|
||||
return typesetter;
|
||||
|
|
Loading…
Reference in a new issue