]> granicus.if.org Git - handbrake/commitdiff
WinGui:
authorsr55 <sr55.hb@outlook.com>
Fri, 11 Apr 2008 21:45:18 +0000 (21:45 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 11 Apr 2008 21:45:18 +0000 (21:45 +0000)
- 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

index 44fffd21b3ae6244a14dd40bff0116f04765b794..3d69a891f5cfbf767f1a47e80dafd14d2c334b0c 100644 (file)
@@ -71,7 +71,7 @@ namespace Handbrake.Functions
             readRss();\r
             for (int i = 0; i < nodeChannel.ChildNodes.Count; i++)\r
             {\r
-                if (nodeChannel.ChildNodes[6].Name == "item")\r
+                if (nodeChannel.ChildNodes[nodeChannel.ChildNodes.Count -1 ].Name == "item")\r
                 {\r
                     nodeItem = nodeChannel.ChildNodes[0];\r
                     t = readRss();\r