[longomatch] Fix paths for temporary files under mingw
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix paths for temporary files under mingw
- Date: Thu, 6 Sep 2012 18:22:43 +0000 (UTC)
commit d05994e24278c4fb3250fdaf6467696d2b34b1a6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Aug 29 00:37:08 2012 +0200
Fix paths for temporary files under mingw
.../Services/RenderingJobsManager.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/RenderingJobsManager.cs b/LongoMatch.Services/Services/RenderingJobsManager.cs
index fe5cf27..f1a0630 100644
--- a/LongoMatch.Services/Services/RenderingJobsManager.cs
+++ b/LongoMatch.Services/Services/RenderingJobsManager.cs
@@ -171,7 +171,7 @@ namespace LongoMatch.Services
private string CreateStillImage(string filename, Drawing drawing) {
Image frame, final_image;
- string path = System.IO.Path.GetTempFileName();
+ string path = System.IO.Path.GetTempFileName().Replace(@"\", @"\\");
capturer.Open(filename);
capturer.SeekTime(drawing.RenderTime, true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]