From 58b120562cb887b0df4e3d25c1f04d2177a4e2fb Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 11 Apr 2008 21:45:18 +0000 Subject: [PATCH] WinGui: - Fixed bug in the RSS reader. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1405 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Functions/RssReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.40.0