diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-18 13:43:36 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-18 13:43:36 +0000 |
commit | f761eb20ce8d3b5ef718be4a305b78712641248d (patch) | |
tree | 0cf16adb83c0004af60aeca3b5d8b9cf17b18aa6 /src/base | |
parent | 4b502e678735fe19ccc7bd140b4ff34ac1406628 (diff) | |
download | usdx-f761eb20ce8d3b5ef718be4a305b78712641248d.tar.gz usdx-f761eb20ce8d3b5ef718be4a305b78712641248d.tar.xz usdx-f761eb20ce8d3b5ef718be4a305b78712641248d.zip |
change variable names "static" to "statics"
- "static" is a reserved name and should not be used
- code-completion in lazarus does not work as it is not able to cope with variables that are named "static"
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2246 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/UThemes.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/UThemes.pas b/src/base/UThemes.pas index f8b2d8fd..45e85af5 100644 --- a/src/base/UThemes.pas +++ b/src/base/UThemes.pas @@ -218,7 +218,7 @@ type TThemeBasic = class Background: TThemeBackground; Text: AThemeText; - Static: AThemeStatic; + Statics: AThemeStatic; //Button Collection Mod ButtonCollection: AThemeButtonCollection; @@ -1623,7 +1623,7 @@ procedure TTheme.ThemeLoadBasic(Theme: TThemeBasic; const Name: string); begin ThemeLoadBackground(Theme.Background, Name); ThemeLoadTexts(Theme.Text, Name + 'Text'); - ThemeLoadStatics(Theme.Static, Name + 'Static'); + ThemeLoadStatics(Theme.Statics, Name + 'Static'); ThemeLoadButtonCollections(Theme.ButtonCollection, Name + 'ButtonCollection'); LastThemeBasic := Theme; @@ -2297,7 +2297,7 @@ begin ThemeIni.WriteInteger(Name, 'Texts', Length(Theme.Text)); ThemeSaveBackground(Theme.Background, Name + 'Background'); - ThemeSaveStatics(Theme.Static, Name + 'Static'); + ThemeSaveStatics(Theme.Statics, Name + 'Static'); ThemeSaveTexts(Theme.Text, Name + 'Text'); end; |