[longomatch] Fix saving project with slashes in the date



commit 834d26384dfdc51df23ef4a4091ddcacc7c6d7fb
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Mar 27 02:21:08 2013 +0100

    Fix saving project with slashes in the date

 LongoMatch.Services/Services/ProjectsManager.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/ProjectsManager.cs b/LongoMatch.Services/Services/ProjectsManager.cs
index 4a12b8f..829b3f3 100644
--- a/LongoMatch.Services/Services/ProjectsManager.cs
+++ b/LongoMatch.Services/Services/ProjectsManager.cs
@@ -106,7 +106,7 @@ namespace LongoMatch.Services
                                Log.Exception(ex);
                                Log.Debug ("Backing up project to file");
                                string projectFile = filePath + "-" + DateTime.Now;
-                               projectFile = projectFile.Replace("-", "_").Replace(" ", "_").Replace(":", 
"_");
+                               projectFile = projectFile.Replace("-", "_").Replace(" ", "_").Replace(":", 
"_").Replace("/", "_");
                                Project.Export(OpenedProject, projectFile);
                                guiToolkit.ErrorMessage(Catalog.GetString("An error occured saving the 
project:\n")+ex.Message+ "\n\n"+
                                        Catalog.GetString("The video file and a backup of the project has 
been "+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]