/[EmuXPortal]/branches/mono/EmuXPortal/Form1.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/Form1.cs

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

--- branches/mono/EmuXPortal/Form1.cs	2016/03/17 08:45:01	275
+++ branches/mono/EmuXPortal/Form1.cs	2016/08/17 01:24:40	283
@@ -75,9 +75,9 @@
             #region logging support
             string log_path = Application.StartupPath;
             string log_filename = string.Format("{0}.log", typeof(Form1).Assembly.GetName().Name);
-            FileInfo log_file = new FileInfo(string.Format(@"{0}\{1}", log_path, log_filename));
+			FileInfo log_file = new FileInfo(OSInfo.FormatPath(string.Format(@"{0}\{1}", log_path, log_filename)));
 
-            gLog.CreateLog(log_file.FullName, true, LogLevel.kLogLevel_All_NoProgress, new EventHandler<LoggerOnFlushEventArgs>(Log_OnFlush));
+            gLog.CreateLog(log_file.Name, true, LogLevel.kLogLevel_All_NoProgress, new EventHandler<LoggerOnFlushEventArgs>(Log_OnFlush));
 #if DEBUG
             LogLevel gLevel = gLog.LogLevel;
 #if DISABLE_DEBUG_MODE_KLOGLEVEL_VERBOSE_DEBUG

 

  ViewVC Help
Powered by ViewVC 1.1.22