mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: DialogBoxParam function
This commit is contained in:
parent
fb40c7c4a9
commit
8ea19a565c
2 changed files with 5 additions and 5 deletions
|
|
@ -236,13 +236,13 @@ begin
|
|||
if (DataSize = 0) then Exit(0);
|
||||
SetString(DataString, Data, DataSize);
|
||||
|
||||
if (Flags and DB_LRS = 0) then
|
||||
begin
|
||||
DataString:= LFMToLRS(DataString);
|
||||
end
|
||||
else if (Flags and DB_FILENAME <> 0) then
|
||||
if (Flags and DB_FILENAME <> 0) then
|
||||
begin
|
||||
DataString:= LFMToLRS(mbReadFileToString(DataString));
|
||||
end
|
||||
else if (Flags and DB_LRS = 0) then
|
||||
begin
|
||||
DataString:= LFMToLRS(DataString);
|
||||
end;
|
||||
|
||||
Result:= UIntPtr(DialogBox(DataString, DlgProc, UserData));
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ end;
|
|||
|
||||
procedure TDcxModule.InitializeExtension(StartupInfo: PExtensionStartupInfo);
|
||||
const
|
||||
VERSION_API = 3;
|
||||
VERSION_API = 4;
|
||||
var
|
||||
Language: String;
|
||||
AFileName, APath: String;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue