/[RomCheater]/trunk/RomCheater/RomCheaterConfigDialog.cs
ViewVC logotype

Diff of /trunk/RomCheater/RomCheaterConfigDialog.cs

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

--- trunk/RomCheater/RomCheaterConfigDialog.cs	2012/06/22 08:21:18	414
+++ trunk/RomCheater/RomCheaterConfigDialog.cs	2013/06/17 10:29:30	692
@@ -1,6 +1,6 @@
 #region Logging Defines
 // include this any class or method that required logging, and comment-out what is not needed
-#define LOGGING_ENABLED
+
 #region Enabled logging levels
 #define LOGGING_ENABLE_INFO
 #define LOGGING_ENABLE_WARN
@@ -22,7 +22,8 @@
 using System.Windows.Forms;
 using RomCheater.Logging;
 using RomCheater.PluginFramework.Core;
-using RomCheater.PluginFramework.Interfaces;
+using RomCheater.Core;
+
 
 namespace RomCheater
 {
@@ -121,14 +122,16 @@
                 logger.SetLoggingFlags(pflags);
             }
 #endif
-            foreach (loggerflags flags in loggerflags.GetValues())
+            var logger_flags = loggerflags.GetValues();
+
+            foreach (loggerflags flags in logger_flags)
             {
                 if (flags == loggerflags.ALL ||
                     flags == loggerflags.NONE ||
                     flags == loggerflags.DEFAULT)
                     continue;
 
-                string name = flags.ToString();
+                string name = flags.Name;
                 ushort value = (ushort)flags;
 
                 CheckBox chkloggerflags = new CheckBox();

 

  ViewVC Help
Powered by ViewVC 1.1.22