summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/C#/Functions/RssReader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/Functions/RssReader.cs b/win/C#/Functions/RssReader.cs
index 44fffd21b..3d69a891f 100644
--- a/win/C#/Functions/RssReader.cs
+++ b/win/C#/Functions/RssReader.cs
@@ -71,7 +71,7 @@ namespace Handbrake.Functions
readRss();
for (int i = 0; i < nodeChannel.ChildNodes.Count; i++)
{
- if (nodeChannel.ChildNodes[6].Name == "item")
+ if (nodeChannel.ChildNodes[nodeChannel.ChildNodes.Count -1 ].Name == "item")
{
nodeItem = nodeChannel.ChildNodes[0];
t = readRss();