diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 23:11:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 23:11:39 +0000 |
commit | 8ef40f0bd018c6f9295977c206714db8d1e6159c (patch) | |
tree | 2acbdcb3743bb4d1b6bbfc49953cc164b11a6089 /plugins/mRadio/i_bass.inc | |
parent | 427891e0d28becb428ae8435954399f2e4daa9fe (diff) |
code cleanup for pascal plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@3828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
|