aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/base
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 19:11:48 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 19:11:48 +0000
commitceaaf48e88ba705e47cbf491720f05fda814e33b (patch)
treec317485fabd9a4420e3b8bee03e23f687ae968f8 /unicode/src/base
parent7ed25c413e5bf90781652d40e09132160ddd0fe8 (diff)
downloadusdx-ceaaf48e88ba705e47cbf491720f05fda814e33b.tar.gz
usdx-ceaaf48e88ba705e47cbf491720f05fda814e33b.tar.xz
usdx-ceaaf48e88ba705e47cbf491720f05fda814e33b.zip
- onHide -> onHide
- onShow -> OnShow git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1885 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'unicode/src/base')
-rw-r--r--unicode/src/base/UFont.pas2
-rw-r--r--unicode/src/base/UGraphic.pas6
2 files changed, 4 insertions, 4 deletions
diff --git a/unicode/src/base/UFont.pas b/unicode/src/base/UFont.pas
index 32764be3..473e8f95 100644
--- a/unicode/src/base/UFont.pas
+++ b/unicode/src/base/UFont.pas
@@ -818,7 +818,7 @@ var
LineLength: integer;
EOT: boolean; // End-Of-Text
begin
- // split lines on newline (there is no UCS4String version of ExtractStrings)
+ // split lines on newline
SetLength(Lines, 0);
EOT := false;
LineStart := 0;
diff --git a/unicode/src/base/UGraphic.pas b/unicode/src/base/UGraphic.pas
index 9c12d998..edbdd0b6 100644
--- a/unicode/src/base/UGraphic.pas
+++ b/unicode/src/base/UGraphic.pas
@@ -466,7 +466,7 @@ begin
// load icon image (must be 32x32 for win32)
Icon := LoadImage(ResourcesPath.Append(WINDOW_ICON));
if (Icon <> nil) then
- SDL_WM_SetIcon(Icon, 0);
+ SDL_WM_SetIcon(Icon, nil);
SDL_WM_SetCaption(PChar(Title), nil);
@@ -667,7 +667,7 @@ end;
procedure LoadLoadingScreen;
begin
ScreenLoading := TScreenLoading.Create;
- ScreenLoading.onShow;
+ ScreenLoading.OnShow;
Display.CurrentScreen := @ScreenLoading;
@@ -682,7 +682,7 @@ end;
procedure LoadScreens;
begin
{ ScreenLoading := TScreenLoading.Create;
- ScreenLoading.onShow;
+ ScreenLoading.OnShow;
Display.CurrentScreen := @ScreenLoading;
ScreenLoading.Draw;
Display.Draw;