You've already forked lazarus-ccr
spktoolbar: More conventional code formatting of unit SpkGUITools
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -329,6 +329,8 @@ type
|
||||
operator - (Left: T3DVector; Right: T3DVector): T3DVector;
|
||||
{$endif}
|
||||
|
||||
procedure EnsureOrder(var a, b: Integer);
|
||||
|
||||
implementation
|
||||
|
||||
{$ifndef EnhancedRecordSupport}
|
||||
@ -1696,4 +1698,15 @@ end;
|
||||
|
||||
{$endif}
|
||||
|
||||
procedure EnsureOrder(var a, b: Integer);
|
||||
var
|
||||
tmp: Integer;
|
||||
begin
|
||||
if a <= b then
|
||||
exit;
|
||||
tmp := a;
|
||||
a := b;
|
||||
b := tmp;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
@ -13,9 +13,8 @@ uses
|
||||
{$R *.res}
|
||||
|
||||
begin
|
||||
Application.Scaled := True;
|
||||
{$IF lcl_fullversion >= 1080000}
|
||||
Application.Scaled := True;
|
||||
{$IF LCL_FullVersion >= 1080000}
|
||||
Application.Scaled:=True;
|
||||
{$ENDIF}
|
||||
RequireDerivedFormResource := True;
|
||||
Application.Initialize;
|
||||
|
Reference in New Issue
Block a user