/[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	2013/06/17 09:31:52	686
+++ trunk/RomCheater/RomCheaterConfigDialog.cs	2013/06/17 10:29:30	692
@@ -122,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