mirror of https://github.com/odrling/Aegisub
Allow nonintegral font sizes in styles
Originally committed to SVN as r6150.
This commit is contained in:
parent
435e7170df
commit
aba01b833a
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue