aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Game/Code/Classes/UIni.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Classes/UIni.pas b/Game/Code/Classes/UIni.pas
index e8242886..df759b95 100644
--- a/Game/Code/Classes/UIni.pas
+++ b/Game/Code/Classes/UIni.pas
@@ -272,7 +272,8 @@ begin
begin
I := 0;
Repeat
- SetLength(IResolution, I + 1);
+ SetLength(IResolution, I + 1);
+ writeln( 'Found resolution : '+IntToStr((modes^)^.w) + 'x' + IntToStr((modes^)^.h); );
IResolution[I] := IntToStr((modes^)^.w) + 'x' + IntToStr((modes^)^.h);
Inc(I);
Inc(modes);