aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/USongs.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas
index e3b2f3b2..6a58a8dd 100644
--- a/Game/Code/Classes/USongs.pas
+++ b/Game/Code/Classes/USongs.pas
@@ -187,14 +187,15 @@ begin
end;
procedure TSongs.Execute();
+(*
var
-
lrfds : fdSet;
time : Ttimeval;
res : integer;
buf : pchar;
len, bufflen : longint;
str : String;
+*)
begin
fParseSongDirectory := true;
@@ -218,6 +219,7 @@ begin
fProcessing := true;
Log.LogError('SongList', 'Searching For Songs');
+
Setlength(Song, 50);
BrowsePos := 0;