mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-01 04:20:20 +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.journalTopicOver,
|
||||||
textColours.journalTopicPressed, first);
|
textColours.journalTopicPressed, first);
|
||||||
|
|
||||||
|
ch[1]++;
|
||||||
|
|
||||||
// Words can not be started with these characters
|
// Words can not be started with these characters
|
||||||
if (i == 26 || i == 28)
|
if (i == 26 || i == 28)
|
||||||
continue;
|
continue;
|
||||||
@ -290,8 +292,6 @@ BookTypesetter::Ptr JournalBooks::createCyrillicJournalIndex ()
|
|||||||
|
|
||||||
typesetter->write (style, to_utf8_span (buffer));
|
typesetter->write (style, to_utf8_span (buffer));
|
||||||
typesetter->lineBreak ();
|
typesetter->lineBreak ();
|
||||||
|
|
||||||
ch[1]++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return typesetter;
|
return typesetter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user