]> granicus.if.org Git - handbrake/commitdiff
WinGui:
authorsr55 <sr55.hb@outlook.com>
Thu, 28 Aug 2008 18:39:54 +0000 (18:39 +0000)
committersr55 <sr55.hb@outlook.com>
Thu, 28 Aug 2008 18:39:54 +0000 (18:39 +0000)
- Fixed Custom Crop bug as per http://forum.handbrake.fr/viewtopic.php?f=12&t=6963

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1656 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/Functions/Common.cs

index 02e7628ca00bdaa9fcb5f297c8b932cf9cac49c9..6a61ae735a2bd1d52402d799525d3a373b91f93b 100644 (file)
@@ -518,10 +518,10 @@ namespace Handbrake.Functions
             if (mainWindow.text_height.Text != "")\r
                 query += " -l " + mainWindow.text_height.Text;\r
 \r
-            string cropTop = "";\r
-            string cropBottom = "";\r
-            string cropLeft = "";\r
-            string cropRight = "";\r
+            string cropTop = mainWindow.text_top.Text;\r
+            string cropBottom = mainWindow.text_bottom.Text;\r
+            string cropLeft = mainWindow.text_left.Text;\r
+            string cropRight = mainWindow.text_right.Text;\r
 \r
             if (mainWindow.drp_crop.Text == "No Crop")\r
                 query += " --crop 0:0:0:0 ";\r