diff --git a/components/synedit/syncompletion.pas b/components/synedit/syncompletion.pas index de6fc74c6a..963ed4401d 100644 --- a/components/synedit/syncompletion.pas +++ b/components/synedit/syncompletion.pas @@ -420,7 +420,7 @@ begin case key of // #33..'z': begin if Assigned(OnKeyPress) then - OnKeyPress(self, Key); + OnKeyPress(Self, Key); {$ifdef SYN_LAZARUS} if Key<>#0 then {$ENDIF} @@ -432,6 +432,7 @@ begin OnCancel(Self); end; // case {$ifdef SYN_LAZARUS} + Key:=#0; Invalidate; {$ENDIF} end; diff --git a/tools/install/create_lazarus_rpm.sh b/tools/install/create_lazarus_rpm.sh index d830ac5906..f6b156f45e 100644 --- a/tools/install/create_lazarus_rpm.sh +++ b/tools/install/create_lazarus_rpm.sh @@ -36,7 +36,7 @@ cat lazarus.spec | \ sed -e "s/LAZVERSION/$LazVersion/g" \ -e "s/LAZRELEASE/$LazRelease/" \ -e "s/LAZSOURCE/$SrcTGZ/" \ - -e "s/FPCBUILDVERSION/1.0.10/" \ + -e "s/FPCBUILDVERSION/2.0.0/" \ -e "s/FPCSRCVERSION/$FPCRPMVersion/" \ > $SpecFile