summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-09-04 16:51:27 +0000
committerdynaflash <[email protected]>2007-09-04 16:51:27 +0000
commit2ecc15e8442ce439445962aa34b6a36a065b6be7 (patch)
treeaf8687a5b2a638f372361221ef1fc24caa86b0f9 /macosx
parent7135156993a6ec60e691067dc3e481ea774d0c84 (diff)
MacGui: Fix Auto Naming to use the titile->index value instead of indexOfSelectedItem in the title popup to reflect the dvd's title number.
- Thanks clee! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@919 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index c829bba27..173a54c5e 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -1832,7 +1832,7 @@ list = hb_get_titles( fHandle );
[fDstFile2Field setStringValue: [NSString stringWithFormat:
@"%@/%@-%d.%@", [[fDstFile2Field stringValue] stringByDeletingLastPathComponent],
[NSString stringWithUTF8String: title->name],
- [fSrcTitlePopUp indexOfSelectedItem] + 1,
+ title->index,
[[fDstFile2Field stringValue] pathExtension]]];
}