/[xmltv_parser]/trunk/libxmltv/Core/XMLTVProgram.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVProgram.cs

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

--- trunk/libxmltv/Core/XMLTVProgram.cs	2013/03/09 11:23:09	76
+++ trunk/libxmltv/Core/XMLTVProgram.cs	2013/03/09 11:28:41	77
@@ -55,10 +55,11 @@
                     found_field = true;
                     try
                     {
-                        xmltv_logger.Verbose.Debug.WriteLine("Updating instance with program information: {0}", this.ToString());
+                        
                         var list = (List<IXMLTVProgram>)field.GetValue(this.GetInstance());
                         this.Id = list.Count + 1;
                         list.Add(this);
+                        xmltv_logger.Verbose.Debug.WriteLine("Updating instance with program information: {0}", this.ToString());
                         field.SetValue(this.GetInstance(), list);
                         break;
                     }

 

  ViewVC Help
Powered by ViewVC 1.1.22