Browse Source

minor adjustment

Ugochukwu Mmaduekwe 6 years ago
parent
commit
5f9f712f42

+ 12 - 9
QRCodeGenLib/src/Include/QRCodeGenLib.inc

@@ -40,12 +40,15 @@
 {$OPTIMIZATION STRENGTH}
 {$OPTIMIZATION CSE}
 {$OPTIMIZATION DFA}
+
 {$IFDEF CPUI386}
-{$OPTIMIZATION USEEBP}
+   {$OPTIMIZATION USEEBP}
 {$ENDIF}
+
 {$IFDEF CPUX86_64}
-{$OPTIMIZATION USERBP}
+   {$OPTIMIZATION USERBP}
 {$ENDIF}
+
 {$ENDIF FPC}
 
 (* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& *)
@@ -73,26 +76,26 @@
 
  // XE3 and Above
 {$IF CompilerVersion >= 24.0}
-{$DEFINE DELPHIXE3_UP}
-{$LEGACYIFEND ON}
-{$ZEROBASEDSTRINGS OFF}
+   {$DEFINE DELPHIXE3_UP}
+   {$LEGACYIFEND ON}
+   {$ZEROBASEDSTRINGS OFF}
 {$IFEND}
 
   // XE and Above
 {$IF CompilerVersion >= 22.0}
-{$DEFINE DELPHIXE_UP}
+   {$DEFINE DELPHIXE_UP}
 {$IFEND}
 
   // XE3 and Above
 {$IFNDEF DELPHIXE3_UP}
-{$MESSAGE ERROR 'This Library requires Delphi XE3 or higher.'}
+   {$MESSAGE ERROR 'This Library requires Delphi XE3 or higher.'}
 {$ENDIF}
 
 {.$DEFINE Framework_FMX} // enable to force FMX mode
 {$IFDEF Framework_FMX}
-{$DEFINE FMX}
+   {$DEFINE FMX}
 {$ELSE}
-{$DEFINE VCL}
+   {$DEFINE VCL}
 {$ENDIF}
 
 {$ENDIF DELPHI}

+ 2 - 2
QRCodeGenLib/src/Include/QRCodeGenLibHelper.inc

@@ -13,10 +13,10 @@
 
 {$MACRO ON}
 {$IFDEF ENDIAN_BIG}
-{$MESSAGE FATAL 'This Library does not support "Big Endian" processors yet.'}
+   {$MESSAGE FATAL 'This Library does not support "Big Endian" processors yet.'}
 {$ENDIF}
 // FPC 3.0.0 and Above
 // Had to Include this here since Delphi does not allow it Compile in "QRCodeGenLib.inc".
 {$IF FPC_FULLVERSION < 30000}
-{$MESSAGE ERROR 'This Library requires FreePascal 3.0.0 or higher.'}
+   {$MESSAGE ERROR 'This Library requires FreePascal 3.0.0 or higher.'}
 {$IFEND}