summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-09-27 18:48:24 +0000
committersr55 <[email protected]>2013-09-27 18:48:24 +0000
commit954462c36441af7b3c6d02450cc7edf892cae99e (patch)
tree9f9c3b71549787935ba408f383ed7dbd5e970c3d
parentac204a148750f15baa1aba049229abf8384999b4 (diff)
WinGui: Fix an index problem with the angles dropdown.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5816 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index f1acf2624..1ce0f000e 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -538,7 +538,7 @@ namespace HandBrakeWPF.ViewModels
}
List<int> items = new List<int>();
- for (int i = 1; i <= this.selectedTitle.AngleCount + 1; i++)
+ for (int i = 1; i <= this.selectedTitle.AngleCount; i++)
{
items.Add(i);
}