Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[WIN32] fixed: don't call SetSetting if we don't have a valid g_plugi…

…n. This shouldn't happened but it seems to be for some setups so at least don't crash.
  • Loading branch information...
commit d32d809622091ff8d21b4a11b503446452641148 1 parent 82b31e5
@wsoltys wsoltys authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/visualizations/Milkdrop/MilkdropXBMC.cpp
View
2  xbmc/visualizations/Milkdrop/MilkdropXBMC.cpp
@@ -264,7 +264,7 @@ extern "C" void ADDON_FreeSettings()
//-----------------------------------------------------------------------------
extern "C" ADDON_STATUS ADDON_SetSetting(const char* id, const void* value)
{
- if (!id || !value)
+ if (!id || !value || !g_plugin)
return ADDON_STATUS_UNKNOWN;
if (strcmp(id, "###GetSavedSettings") == 0) // We have some settings to be saved in the settings.xml file
Please sign in to comment.
Something went wrong with that request. Please try again.