aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authortaxigps <taxigps@svn>2010-07-30 09:39:49 +0000
committertaxigps <taxigps@svn>2010-07-30 09:39:49 +0000
commit183194489e2e493d49eb21ce60b624b4214df0f6 (patch)
treead18e4844afb91985aeffdef72dc5d9d7c6e6cc9 /guilib
parent862ae4facde10c8519f15f449519077bfd2bdb8d (diff)
fixed: get rid of unnecessary utf8 convert in CGUITextureManager::Load, we do the convert with io functions in DllLoader.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32344 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/TextureManager.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/guilib/TextureManager.cpp b/guilib/TextureManager.cpp
index 76a5f2228f..db98221587 100644
--- a/guilib/TextureManager.cpp
+++ b/guilib/TextureManager.cpp
@@ -403,13 +403,8 @@ int CGUITextureManager::Load(const CStdString& strTextureName, bool checkBundleO
}
else
{
- // normal picture
- // convert from utf8
- CStdString texturePath;
- g_charsetConverter.utf8ToStringCharset(strPath, texturePath);
-
pTexture = new CTexture();
- if(!pTexture->LoadFromFile(texturePath))
+ if(!pTexture->LoadFromFile(strPath))
return 0;
width = pTexture->GetWidth();
height = pTexture->GetHeight();