From 50523ba17fcb19d37c54420ec3ea651538121e35 Mon Sep 17 00:00:00 2001 From: b1indy Date: Thu, 20 Sep 2007 10:39:30 +0000 Subject: moved a hack to a more appropriate place git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@417 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Screens/UScreenEditSub.pas | 1 + Game/Code/UltraStar.dpr | 4 +--- 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 -- cgit v1.2.3