mirror of https://github.com/odrling/Aegisub
Fix truncation of all float fields in styles
Originally committed to SVN as r6367.
This commit is contained in:
parent
99a7eece9c
commit
92ae4a616e
|
@ -185,7 +185,7 @@ static int get_next_int(wxStringTokenizer &tok) {
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int get_next_double(wxStringTokenizer &tok) {
|
static double get_next_double(wxStringTokenizer &tok) {
|
||||||
double temp;
|
double temp;
|
||||||
if (!get_next_string(tok).ToDouble(&temp))
|
if (!get_next_string(tok).ToDouble(&temp))
|
||||||
throw "Malformed style: could not parse double field";
|
throw "Malformed style: could not parse double field";
|
||||||
|
|
Loading…
Reference in New Issue