X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=win%2FC%23%2FControls%2FPictureSettings.cs;h=0e9a422d64184242b13adb08b2e42d0c61c7dd0d;hb=112c4abceb62247d2edbc674fc59fec88f541387;hp=a597de9ebc6f028441bcada22b59ef606b0ddd62;hpb=b4b9bb7d3ea6007dc5636f389e4dfecf59c5ddfa;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/win/C#/Controls/PictureSettings.cs b/win/C#/Controls/PictureSettings.cs index a597de9e..0e9a422d 100644 --- a/win/C#/Controls/PictureSettings.cs +++ b/win/C#/Controls/PictureSettings.cs @@ -599,12 +599,12 @@ namespace Handbrake.Controls { int aw = 0; int ah = 0; - if (selectedTitle.AspectRatio.ToString(Culture) == "1.78") + if (selectedTitle.AspectRatio == 1.78F) { aw = 16; ah = 9; } - else if (selectedTitle.AspectRatio.ToString(Culture) == "1.33") + if (selectedTitle.AspectRatio == 1.33F) { aw = 4; ah = 3; @@ -641,12 +641,12 @@ namespace Handbrake.Controls { int aw = 0; int ah = 0; - if (selectedTitle.AspectRatio.ToString(Culture) == "1.78") + if (selectedTitle.AspectRatio == 1.78F) { aw = 16; ah = 9; } - else if (selectedTitle.AspectRatio.ToString(Culture) == "1.33") + if (selectedTitle.AspectRatio == 1.33F) { aw = 4; ah = 3;