aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2009-09-23 09:48:36 +0000
committerjmarshallnz <jmarshallnz@svn>2009-09-23 09:48:36 +0000
commit59629d6966e46a99fc8e41a05f5e460d984997a4 (patch)
tree532ebfc1a04e3bd33e218b0c2bbad1908cf4c1fa /guilib
parent4c548f9d6e30ae722bf2bb9aa2e6996237f94e57 (diff)
fixed: Animgifs within bundles weren't loading
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23108 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/TextureBundle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/guilib/TextureBundle.cpp b/guilib/TextureBundle.cpp
index 2089802172..7f025a4ac6 100644
--- a/guilib/TextureBundle.cpp
+++ b/guilib/TextureBundle.cpp
@@ -392,8 +392,7 @@ int CTextureBundle::LoadAnim(const CStdString& Filename, CBaseTexture*** ppTextu
*ppTextures = NULL; *ppDelays = NULL;
CAutoTexBuffer UnpackedBuf;
- HRESULT r = LoadFile(Filename, UnpackedBuf);
- if (r != S_OK)
+ if (!LoadFile(Filename, UnpackedBuf))
return 0;
struct AnimInfo_t