aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-11 15:54:50 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-11 15:54:50 +0000
commitcb8cc3c455ade321861e92829498cdf4f2c26a9b (patch)
treeefb62a853f2d3921e3c4310a946eff491dd4251b
parenta8da17dc72c72a127eda49ae671451865d28c81e (diff)
downloadusdx-cb8cc3c455ade321861e92829498cdf4f2c26a9b.tar.gz
usdx-cb8cc3c455ade321861e92829498cdf4f2c26a9b.tar.xz
usdx-cb8cc3c455ade321861e92829498cdf4f2c26a9b.zip
fix wrong lyric spacing in editor after editing a sentence whose last syllable is freestyle
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2488 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--src/base/UEditorLyrics.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/UEditorLyrics.pas b/src/base/UEditorLyrics.pas
index 0eacd1f9..5030eff5 100644
--- a/src/base/UEditorLyrics.pas
+++ b/src/base/UEditorLyrics.pas
@@ -195,6 +195,7 @@ begin
Word[WordNum].FontStyle := FontStyleI;
SetFontStyle(FontStyleI);
SetFontSize(SizeR);
+ SetFontItalic(Italic);
Word[WordNum].Width := glTextWidth(Text);
Word[WordNum].Text := Text;
Word[WordNum].ColR := ColR;