diff options
Diffstat (limited to 'plugins/mRadio/i_bass.inc')
-rw-r--r-- | plugins/mRadio/i_bass.inc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/mRadio/i_bass.inc b/plugins/mRadio/i_bass.inc index 77f0d3650a..e52d7f377a 100644 --- a/plugins/mRadio/i_bass.inc +++ b/plugins/mRadio/i_bass.inc @@ -53,7 +53,7 @@ begin end
else
pcw:=FastAnsiToWideBuf(BASS_ERRORS[idx],@buf);
-
+
MessageBoxW(0,TranslateW(pcw),
TranslateW('Oops! BASS error'),MB_ICONERROR)
end;
@@ -139,7 +139,7 @@ begin else
result:=true;
end;
-
+
end;
end;
@@ -316,9 +316,6 @@ begin if recpath<>nil then
begin
ConvertFileName(recpath,buf,ActiveContact);
-// pcw:=ParseVarString(recpath,ActiveContact);
-// CallService(MS_UTILS_PATHTOABSOLUTEW,dword(pcw),dword(buf));
-// mFreeMem(pcw);
if not ForceDirectories(buf) then
begin
result:=nil;
@@ -549,7 +546,7 @@ begin end
else
needtofree:=true;
-
+
// to avoid mem leak and wrong tag process
result:=true;
end;
@@ -699,7 +696,7 @@ begin end;
end;
end;
-{$IFDEF Debug}
+{$IFDEF Debug}
logmeta(tag,artist,title);
{$ENDIF}
mFreeMem(oldartist);
@@ -855,7 +852,7 @@ begin if chan=0 then
begin
- if (CallService(MS_RADIO_COMMAND,MRC_STATUS,RD_STATUS_GET)=RD_STATUS_ABORT) or
+ if (CallService(MS_RADIO_COMMAND,MRC_STATUS,RD_STATUS_GET)=RD_STATUS_ABORT) or
(plist=nil) then
begin
CallService(MS_RADIO_COMMAND,MRC_STOP,1);
|