forked from mia/Aegisub
Fix truncation of all float fields in styles
Originally committed to SVN as r6367.
This commit is contained in:
parent
99a7eece9c
commit
92ae4a616e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue