Bläddra i källkod

Cherry pick {$MINENUMSIZE 4} + comment tweak from be9e5e90. Also add {$ALIGN ON} just line built-in UxTheme has. Docs say {$ALIGN ON}={$A+}={$A8}={$ALIGN 8} which is what we want. Doesn't actually matter for our projects since they already have ALIGN 8 now.

Martijn Laan 1 år sedan
förälder
incheckning
1b71569549
1 ändrade filer med 5 tillägg och 2 borttagningar
  1. 5 2
      Components/NewUxTheme.pas

+ 5 - 2
Components/NewUxTheme.pas

@@ -44,14 +44,17 @@
 {                                                                              }
 {                                                                              }
 {******************************************************************************}
 {******************************************************************************}
 
 
-{ Simplified by Martijn Laan for Inno Setup }
+{ Simplified by Martijn Laan for Inno Setup
 
 
-{ Cannot be replaced by Delphi's built in Winapi.UxTheme.pas even though it has
+  Cannot be replaced by Delphi's built in Winapi.UxTheme.pas even though it has
   the same functions: see the comment at the bottom of this file. For this
   the same functions: see the comment at the bottom of this file. For this
   reason this unit has been renamed to NewUxTheme.  }
   reason this unit has been renamed to NewUxTheme.  }
 
 
 unit NewUxTheme;
 unit NewUxTheme;
 
 
+{$ALIGN ON}
+{$MINENUMSIZE 4}
+
 interface
 interface
 
 
 uses
 uses