aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenEditSub.pas1
-rw-r--r--Game/Code/UltraStar.dpr4
2 files changed, 2 insertions, 3 deletions
diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas
index e896d603..22420b26 100644
--- a/Game/Code/Screens/UScreenEditSub.pas
+++ b/Game/Code/Screens/UScreenEditSub.pas
@@ -1072,6 +1072,7 @@ procedure TScreenEditSub.CopySentences(Src, Dst, Num: integer);
var
C: integer;
begin
+ Lyric := TLyric.Create;
// create place for new sentences
SetLength(Czesci[0].Czesc, Czesci[0].Ilosc + Num - 1);
diff --git a/Game/Code/UltraStar.dpr b/Game/Code/UltraStar.dpr
index 7cbc2e55..cbb5dd7e 100644
--- a/Game/Code/UltraStar.dpr
+++ b/Game/Code/UltraStar.dpr
@@ -1,4 +1,4 @@
-program UltraStar;
+program UltraStar;
{$DEFINE TRANSLATE}
@@ -360,8 +360,6 @@ begin
Log.BenchmarkEnd(0);
Log.LogBenchmark('Loading Time', 0);
- Lyric := TLyric.Create;
-
//------------------------------
//Start- Mainloop