mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 23:08:05 +02:00
codetools: fixed modeswitch
git-svn-id: trunk@21687 -
This commit is contained in:
parent
c286c1ba10
commit
efdffe51ba
@ -2342,7 +2342,7 @@ var
|
||||
begin
|
||||
SkipSpace;
|
||||
ValStart:=SrcPos;
|
||||
while (SrcPos<=SrcLen) and (IsWordChar[Src[SrcPos]]) do
|
||||
while (SrcPos<=SrcLen) and (IsIdentChar[Src[SrcPos]]) do
|
||||
inc(SrcPos);
|
||||
if CompareUpToken('OBJECTIVEC1',Src,ValStart,SrcPos) then begin
|
||||
CompilerModeSwitch:=cmsObjectiveC1;
|
||||
|
@ -177,7 +177,7 @@ function TRegion.GetClipRect : TRect;
|
||||
begin
|
||||
if FRegionData.Reference.Allocated
|
||||
then begin
|
||||
GetRgnBox(HRGN(FRegionData.Reference.Handle), @Result)
|
||||
GetRgnBox(HRGN(FRegionData.Reference.Handle), @Result);
|
||||
end
|
||||
else begin
|
||||
if FRegionData.Polygon <> nil
|
||||
|
Loading…
Reference in New Issue
Block a user