Skip to content
Browse files

fixed: Make sure ADDON_SCRIPT uses CPluginSource so that Provides works

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31940 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
1 parent 961abf5 commit 15de1894b44e6300c28e002607cfb5c6842940b3 jmarshallnz committed Jul 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/addons/AddonManager.cpp
View
2 xbmc/addons/AddonManager.cpp
@@ -467,8 +467,8 @@ AddonPtr CAddonMgr::AddonFromProps(AddonProps& addonProps)
switch (addonProps.type)
{
case ADDON_PLUGIN:
- return AddonPtr(new CPluginSource(addonProps));
case ADDON_SCRIPT:
+ return AddonPtr(new CPluginSource(addonProps));
case ADDON_SCRIPT_LIBRARY:
case ADDON_SCRIPT_LYRICS:
case ADDON_SCRIPT_WEATHER:

0 comments on commit 15de189

Please sign in to comment.
Something went wrong with that request. Please try again.