diff options
Diffstat (limited to 'plugins/Watrack/players/pl_aimp.pas')
-rw-r--r-- | plugins/Watrack/players/pl_aimp.pas | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Watrack/players/pl_aimp.pas b/plugins/Watrack/players/pl_aimp.pas index 1711490e33..410a44d5f0 100644 --- a/plugins/Watrack/players/pl_aimp.pas +++ b/plugins/Watrack/players/pl_aimp.pas @@ -277,7 +277,9 @@ begin StrDupW(artist,
pWideChar(PAnsiChar(pStr)+SizeOf(TAIMP2FileInfo))+
nAlbumLen,nArtistLen);
- end;
+ end
+ else
+ artist:=StrEmpty();
if (album=nil) and (nAlbumLen>0) then
begin
StrDupW(album,
@@ -290,7 +292,9 @@ begin pWideChar(PAnsiChar(pStr)+SizeOf(TAIMP2FileInfo))+
nAlbumLen+nArtistLen+nDateLen+nFileNameLen+nGenreLen,
nTitleLen);
- end;
+ end
+ else
+ title:=StrEmpty();
if (year=nil) and (nDateLen>0) then
begin
StrDupW(year,
|