summaryrefslogtreecommitdiff
path: root/plugins/mRadio/roptions.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio/roptions.pas')
-rw-r--r--plugins/mRadio/roptions.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mRadio/roptions.pas b/plugins/mRadio/roptions.pas
index 2932dbbcbd..59fbba0042 100644
--- a/plugins/mRadio/roptions.pas
+++ b/plugins/mRadio/roptions.pas
@@ -134,8 +134,8 @@ begin
while j>Length(Presets) do
begin
dec(j);
- StrCopy(p ,IntToStr(num,j)); DBDeleteSetting(0,PluginName,preset);
- StrCopy(pd,num); DBDeleteSetting(0,PluginName,descr);
+ StrCopy(p ,IntToStr(num,j)); db_unset(0,PluginName,preset);
+ StrCopy(pd,num); db_unset(0,PluginName,descr);
end;
DBWriteByte(0,PluginName,optOldPreset,OldEQPreset);
DBWriteByte(0,PluginName,optPresets ,Length(Presets));