mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: AudioInfo - return empty string instead ft_fieldempty
(cherry picked from commit 2150343460)
This commit is contained in:
parent
99d8dfed0c
commit
cb7439743c
1 changed files with 1 additions and 2 deletions
|
|
@ -97,7 +97,6 @@ var
|
|||
FileNameU: String;
|
||||
FullText: UnicodeString;
|
||||
ValueI: PInteger absolute FieldValue;
|
||||
Time: ptimeformat absolute FieldValue;
|
||||
begin
|
||||
if (FieldIndex < 0) or (FieldIndex >= FIELD_COUNT) then
|
||||
begin
|
||||
|
|
@ -169,7 +168,7 @@ begin
|
|||
ft_multiplechoice:
|
||||
begin
|
||||
if Length(Value) = 0 then
|
||||
Result:= ft_fieldempty
|
||||
PWideChar(FieldValue)^:= #0
|
||||
else begin
|
||||
if Result <> ft_stringw then
|
||||
StrPLCopy(PAnsiChar(FieldValue), Value, MaxLen - 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue