/[xmltv_parser]/trunk/xmltv_parser/main.cs
ViewVC logotype

Diff of /trunk/xmltv_parser/main.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/xmltv_parser/main.cs	2013/03/09 09:29:40	72
+++ trunk/xmltv_parser/main.cs	2013/03/09 10:27:39	73
@@ -147,8 +147,8 @@
             var instance = XMLTV.GetInstance();
             if (instance != null)
             {
-                var program_count = instance.Programs.Values.Count;
-                var program_list = instance.Programs.Values.ToList().OrderBy(s => s.Start);
+                var program_count = instance.Programs.Count;
+                var program_list = instance.Programs.ToList().OrderBy(s => s.Start);
                 //Programs = program_list(0, program_count).ToList();
                 Programs = new List<IXMLTVProgram>(program_list.ToArray());
             }

 

  ViewVC Help
Powered by ViewVC 1.1.22