From 6fc49cbc9ea03850f782e92e2b32f4d0412e702c Mon Sep 17 00:00:00 2001 From: jupeyy Date: Sun, 6 Jan 2019 06:45:47 +0100 Subject: [PATCH] style --- src/engine/client/text.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp index 3a3d2c286..83751065a 100644 --- a/src/engine/client/text.cpp +++ b/src/engine/client/text.cpp @@ -961,7 +961,8 @@ public: float BearingY = 0.f; BearingY = (((m_RenderFlags&TEXT_RENDER_FLAG_NO_Y_BEARING) != 0) ? 0.f : (pChr->m_OffsetY*Scale*Size)); - if((m_RenderFlags&TEXT_RENDER_FLAG_NO_OVERSIZE) != 0) { + if((m_RenderFlags&TEXT_RENDER_FLAG_NO_OVERSIZE) != 0) + { if(pChr->m_Height*Scale*Size + BearingY > Size) BearingY -= pChr->m_Height*Scale*Size - Size; } @@ -1264,7 +1265,8 @@ public: float BearingY = (((RenderFlags&TEXT_RENDER_FLAG_NO_Y_BEARING) != 0) ? 0.f : (pChr->m_OffsetY*Scale*Size)); - if((RenderFlags&TEXT_RENDER_FLAG_NO_OVERSIZE) != 0) { + if((RenderFlags&TEXT_RENDER_FLAG_NO_OVERSIZE) != 0) + { if(pChr->m_Height*Scale*Size + BearingY > Size) BearingY -= pChr->m_Height*Scale*Size - Size; }