fix glide about box

This commit is contained in:
Nicholas 2015-02-20 21:10:13 +11:00
parent 662e3efa27
commit 87de53b202
1 changed files with 9 additions and 1 deletions

View File

@ -172,8 +172,12 @@ void FlushSettings ( void )
}
}
unsigned int GetSetting ( short SettingID )
unsigned int GetSetting ( short SettingID )
{
if (g_PluginSettings.GetSetting == NULL)
{
return 0;
}
return g_PluginSettings.GetSetting(g_PluginSettings.handle,SettingID + g_PluginSettings.SettingStartRange);
}
@ -189,6 +193,10 @@ const char * GetSettingSz ( short SettingID, char * Buffer, int BufferLen )
const char * GetSystemSettingSz ( short SettingID, char * Buffer, int BufferLen )
{
if (g_PluginSettings.GetSettingSz == NULL)
{
return "";
}
return g_PluginSettings.GetSettingSz(g_PluginSettings.handle,SettingID,Buffer,BufferLen);
}