aboutsummaryrefslogtreecommitdiff
path: root/guilib/TextureBundle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/TextureBundle.cpp')
-rw-r--r--guilib/TextureBundle.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/guilib/TextureBundle.cpp b/guilib/TextureBundle.cpp
index e8f2694a66..006660fea4 100644
--- a/guilib/TextureBundle.cpp
+++ b/guilib/TextureBundle.cpp
@@ -42,12 +42,12 @@ bool CTextureBundle::HasFile(const CStdString& Filename)
{
return m_tbXPR.HasFile(Filename);
}
- else if (m_tbXBT.HasFile(Filename))
+ else if (m_tbXBT.HasFile(Filename))
{
m_useXBT = true;
return true;
- }
- else if (m_tbXPR.HasFile(Filename))
+ }
+ else if (m_tbXPR.HasFile(Filename))
{
m_useXPR = true;
return true;
@@ -67,7 +67,7 @@ void CTextureBundle::GetTexturesFromPath(const CStdString &path, std::vector<CSt
else if (m_useXPR)
{
m_tbXPR.GetTexturesFromPath(path, textures);
- }
+ }
}
bool CTextureBundle::LoadTexture(const CStdString& Filename, CBaseTexture** ppTexture,
@@ -84,7 +84,7 @@ bool CTextureBundle::LoadTexture(const CStdString& Filename, CBaseTexture** ppTe
else
{
return false;
- }
+ }
}
int CTextureBundle::LoadAnim(const CStdString& Filename, CBaseTexture*** ppTextures,
@@ -101,7 +101,7 @@ int CTextureBundle::LoadAnim(const CStdString& Filename, CBaseTexture*** ppTextu
else
{
return 0;
- }
+ }
}
void CTextureBundle::Cleanup()
@@ -117,7 +117,7 @@ void CTextureBundle::Cleanup()
m_useXPR = m_useXBT = false;
}
-
+
void CTextureBundle::SetThemeBundle(bool themeBundle)
{
m_tbXPR.SetThemeBundle(themeBundle);