- Don't really know why I was using strings to compare to floats :/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2517
b64f7644-9d1e-0410-96f1-
a4d463321fa5
{\r
int aw = 0;\r
int ah = 0;\r
- if (selectedTitle.AspectRatio.ToString(Culture) == "1.78")\r
+ if (selectedTitle.AspectRatio == 1.78F)\r
{\r
aw = 16;\r
ah = 9;\r
}\r
- else if (selectedTitle.AspectRatio.ToString(Culture) == "1.33")\r
+ if (selectedTitle.AspectRatio == 1.33F)\r
{\r
aw = 4;\r
ah = 3;\r
{\r
int aw = 0;\r
int ah = 0;\r
- if (selectedTitle.AspectRatio.ToString(Culture) == "1.78")\r
+ if (selectedTitle.AspectRatio == 1.78F)\r
{\r
aw = 16;\r
ah = 9;\r
}\r
- else if (selectedTitle.AspectRatio.ToString(Culture) == "1.33")\r
+ if (selectedTitle.AspectRatio == 1.33F)\r
{\r
aw = 4;\r
ah = 3;\r