aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-11-19 10:31:08 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-11-19 10:31:08 +0000
commit4359220f85163f438c33afc0b2d78fa852ff6ef8 (patch)
tree79da37d469fa300cc7b4f218edfe5f97d5ef1bf1 /Game
parent318b273351e334c61ebf114508044043ee96cb35 (diff)
downloadusdx-4359220f85163f438c33afc0b2d78fa852ff6ef8.tar.gz
usdx-4359220f85163f438c33afc0b2d78fa852ff6ef8.tar.xz
usdx-4359220f85163f438c33afc0b2d78fa852ff6ef8.zip
fix run time bug
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@611 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UIni.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UIni.pas b/Game/Code/Classes/UIni.pas
index ef135e65..444eef32 100644
--- a/Game/Code/Classes/UIni.pas
+++ b/Game/Code/Classes/UIni.pas
@@ -270,8 +270,8 @@ begin
// Resolution
SetLength(IResolution, 0);
- Modes^ := nil;
- Modes := SDL_ListModes(nil, SDL_OPENGL or SDL_FULLSCREEN); // Check if there are any modes available
+
+ Modes := SDL_ListModes(nil, SDL_OPENGL or SDL_FULLSCREEN); // Check if there are any modes available
while assigned( Modes^ ) do //this should solve the biggest wine problem | THANKS Linnex (11.11.07)
begin
SetLength(IResolution, Length(IResolution) + 1);