mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Fix crash from Relto age journal book
This commit is contained in:
@ -2665,7 +2665,7 @@ void pfJournalBook::IRenderPage( uint32_t page, uint32_t whichDTMap, bool sup
|
|||||||
idx--;
|
idx--;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if( chunk->fText[ lastChar ] != 0 )
|
if (lastChar < chunk->fText.size() && chunk->fText[lastChar] != 0)
|
||||||
{
|
{
|
||||||
// Didn't get to render the whole paragraph in this go, so we're going to cheat
|
// Didn't get to render the whole paragraph in this go, so we're going to cheat
|
||||||
// and split the paragraph up into two so that we can handle it properly. Note:
|
// and split the paragraph up into two so that we can handle it properly. Note:
|
||||||
|
Reference in New Issue
Block a user