Skip to content

Commit

Permalink
Fixed a bug where bible text got cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
vladozar committed Sep 11, 2017
1 parent bb87d21 commit 194aeca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imagegenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,12 @@ void ImageGenerator::drawBibleText(QPainter *painter, bool isShadow)

if(haveSecondary && !m_verse.secondary_text.isEmpty())
{
painter->drawText(left,m_bdSets.stRect.top(),w,m_bdSets.ptRect.height(), tflags, m_verse.secondary_text);
painter->drawText(left,m_bdSets.stRect.top(),w,m_bdSets.stRect.height(), tflags, m_verse.secondary_text);
}

if(haveTrinary && !m_verse.trinary_text.isEmpty())
{
painter->drawText(left,m_bdSets.ttRect.top(),w,m_bdSets.ptRect.height(), tflags, m_verse.trinary_text);
painter->drawText(left,m_bdSets.ttRect.top(),w,m_bdSets.ttRect.height(), tflags, m_verse.trinary_text);
}

painter->setFont(m_bdSets.cFont);
Expand Down

0 comments on commit 194aeca

Please sign in to comment.