diff --git a/Source/Settings/Settings.cpp b/Source/Settings/Settings.cpp index c876103fc..72670c825 100644 --- a/Source/Settings/Settings.cpp +++ b/Source/Settings/Settings.cpp @@ -60,7 +60,6 @@ __declspec(dllexport) void SetSettingInfo2 (PLUGIN_SETTINGS2 * info); __declspec(dllexport) void SetSettingInfo3 (PLUGIN_SETTINGS3 * info); } - __declspec(dllexport) void SetSettingInfo (PLUGIN_SETTINGS * info) { g_PluginSettings = *info; @@ -97,7 +96,9 @@ void RegisterSetting ( short SettingID, SETTING_DATA_TYPE Type, const char * if (Category && Category[0] != 0) { _snprintf(FullCategory,sizeof(FullCategory),"%s\\%s",g_PluginSettingName,Category); - } else { + } + else + { _snprintf(FullCategory,sizeof(FullCategory),"%s",g_PluginSettingName); } @@ -209,6 +210,3 @@ void SetSettingSz ( short SettingID, const char * Value ) { g_PluginSettings.SetSettingSz(g_PluginSettings.handle,SettingID + g_PluginSettings.SettingStartRange, Value); } - - - diff --git a/Source/Settings/Settings.h b/Source/Settings/Settings.h index 62a32868c..013196e6f 100644 --- a/Source/Settings/Settings.h +++ b/Source/Settings/Settings.h @@ -28,7 +28,6 @@ enum SETTING_DATA_TYPE { Data_String_RDB_Setting = 7, // A string read from the rom database, with config file }; - // set other information about different settings BOOL SettingsInitilized ( void ); void SetModuleName ( const char * Name );