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

View file

@ -226,7 +226,7 @@ AssStyle::AssStyle(wxString rawData,int version) {
name = 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) {
primary.Parse(get_next_string(tkn));