UPD: Clean up

FIX: Wrong lParam value
This commit is contained in:
Alexander Koblov 2022-07-01 22:21:43 +03:00
commit d056097608
2 changed files with 2 additions and 7 deletions

View file

@ -11,7 +11,7 @@
<CompatibilityMode Value="True"/>
</Flags>
<SessionStorage Value="InProjectDir"/>
<Title Value="PreviewHandler"/>
<Title Value="RichView"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
</General>
@ -65,11 +65,6 @@
<RunParams>
<FormatVersion Value="2"/>
</RunParams>
<RequiredPackages Count="1">
<Item1>
<PackageName Value="doublecmd_common"/>
</Item1>
</RequiredPackages>
<Units Count="1">
<Unit0>
<Filename Value="richview.lpr"/>

View file

@ -175,7 +175,7 @@ begin
end;
lc_copy:
begin
if SendMessageW(ListWin, WM_COPY, 0, LPARAM(@ARange)) >= 0 then
if SendMessageW(ListWin, WM_COPY, 0, 0) <> 0 then
Result:= LISTPLUGIN_OK
else begin
Result:= LISTPLUGIN_ERROR;