Allow nonintegral font sizes in styles

Originally committed to SVN as r6150.
This commit is contained in:
Thomas Goyne 2011-12-23 23:21:02 +00:00
parent 435e7170df
commit aba01b833a
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ AssStyle::AssStyle(wxString rawData,int version) {
name = get_next_string(tkn).Trim(true).Trim(false); name = get_next_string(tkn).Trim(true).Trim(false);
font = get_next_string(tkn).Trim(true).Trim(false); font = get_next_string(tkn).Trim(true).Trim(false);
fontsize = get_next_int(tkn); fontsize = get_next_double(tkn);
if (version != 0) { if (version != 0) {
primary.Parse(get_next_string(tkn)); primary.Parse(get_next_string(tkn));