mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: AudioInfo - don't show invalid 'Track (zero-filled)' field
This commit is contained in:
parent
27e23900bf
commit
2efbd8515c
1 changed files with 6 additions and 1 deletions
|
|
@ -139,7 +139,12 @@ begin
|
|||
7: Value:= DataAudio.Artist;
|
||||
8: Value:= DataAudio.Album;
|
||||
9: ValueI^:= DataAudio.Track;
|
||||
10: Value:= Format('%.2d', [DataAudio.Track]);
|
||||
10:
|
||||
if DataAudio.Track = 0 then
|
||||
Value:= EmptyStr
|
||||
else begin
|
||||
Value:= Format('%.2d', [DataAudio.Track]);
|
||||
end;
|
||||
11: Value:= DataAudio.Date;
|
||||
12: Value:= DataAudio.Genre;
|
||||
13: Value:= DataAudio.Comment;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue