From 92ae4a616e92d655ea76c26af0880099933208de Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 26 Jan 2012 20:17:31 +0000 Subject: [PATCH] Fix truncation of all float fields in styles Originally committed to SVN as r6367. --- aegisub/src/ass_style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/ass_style.cpp b/aegisub/src/ass_style.cpp index c190e21ad..68d22e11a 100644 --- a/aegisub/src/ass_style.cpp +++ b/aegisub/src/ass_style.cpp @@ -185,7 +185,7 @@ static int get_next_int(wxStringTokenizer &tok) { return temp; } -static int get_next_double(wxStringTokenizer &tok) { +static double get_next_double(wxStringTokenizer &tok) { double temp; if (!get_next_string(tok).ToDouble(&temp)) throw "Malformed style: could not parse double field";