ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/logger.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/logger.cs (file contents):
Revision 81 by william, Wed May 9 16:35:07 2012 UTC vs.
Revision 82 by william, Wed May 9 17:48:05 2012 UTC

--- trunk/RomCheater.Logging/logger.cs	2012/05/09 17:17:19	81
+++ trunk/RomCheater.Logging/logger.cs	2012/05/09 17:48:05	82
@@ -99,6 +99,7 @@ namespace RomCheater.Logging
                             try
                             {
                                 lw = (LogWriter)prop.GetValue(null, null);
+                                lh = new logwriter(lw);
                                 break;
                             }
                             catch (Exception)
@@ -106,9 +107,7 @@ namespace RomCheater.Logging
                                 throw;
                             }
                         }
-                    }
-                    lh = new logwriter(lw);
-                    break;
+                    }                    
                 }
             }
         }