mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
One more fix
This commit is contained in:
parent
4443e22387
commit
128a47570e
2 changed files with 10 additions and 8 deletions
|
@ -169,6 +169,15 @@ namespace
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
|
|
||||||
|
MWGui::BookTypesetter::Utf8Span to_utf8_span (char const * text)
|
||||||
|
{
|
||||||
|
typedef MWGui::BookTypesetter::Utf8Point point;
|
||||||
|
|
||||||
|
point begin = reinterpret_cast <point> (text);
|
||||||
|
|
||||||
|
return MWGui::BookTypesetter::Utf8Span (begin, begin + strlen (text));
|
||||||
|
}
|
||||||
|
|
||||||
typedef TypesetBook::Ptr book;
|
typedef TypesetBook::Ptr book;
|
||||||
|
|
||||||
JournalBooks::JournalBooks (JournalViewModel::Ptr model) :
|
JournalBooks::JournalBooks (JournalViewModel::Ptr model) :
|
||||||
|
|
|
@ -6,14 +6,7 @@
|
||||||
|
|
||||||
namespace MWGui
|
namespace MWGui
|
||||||
{
|
{
|
||||||
MWGui::BookTypesetter::Utf8Span to_utf8_span (char const * text)
|
MWGui::BookTypesetter::Utf8Span to_utf8_span (char const * text);
|
||||||
{
|
|
||||||
typedef MWGui::BookTypesetter::Utf8Point point;
|
|
||||||
|
|
||||||
point begin = reinterpret_cast <point> (text);
|
|
||||||
|
|
||||||
return MWGui::BookTypesetter::Utf8Span (begin, begin + strlen (text));
|
|
||||||
}
|
|
||||||
|
|
||||||
struct JournalBooks
|
struct JournalBooks
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue