aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authoranssih <anssih@svn>2010-07-28 12:18:57 +0000
committeranssih <anssih@svn>2010-07-28 12:18:57 +0000
commit0af8cdb650cafc4c179ba63a5946bdeb8f496129 (patch)
tree6c4155e462c9e6f938e6c14a5a9e762f822c40a0 /guilib
parente3bab0699831b518a3d02d69ccc232f87ecdca26 (diff)
fixed: text borders disappear on window resize
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32253 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GUIFontManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIFontManager.cpp b/guilib/GUIFontManager.cpp
index fe2d93fa9e..f544e1b207 100644
--- a/guilib/GUIFontManager.cpp
+++ b/guilib/GUIFontManager.cpp
@@ -214,7 +214,7 @@ void GUIFontManager::ReloadTTFFonts(void)
if (!pFontFile)
{
pFontFile = new CGUIFontTTF(TTFfontName);
- if (!pFontFile || !pFontFile->Load(strPath, newSize, aspect))
+ if (!pFontFile || !pFontFile->Load(strPath, newSize, aspect, 1.0f, fontInfo.border))
{
delete pFontFile;
// font could not be loaded