mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
Do not display cyrillic soft/hard signs in the journal index
This commit is contained in:
parent
b6ae7f3cc8
commit
29b2308b2c
@ -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…
x
Reference in New Issue
Block a user