OSDN Git Service

Fix a bug where specifying an output folder is ignored
authorKazuhiro <fujieda@users.osdn.me>
Mon, 21 Sep 2015 09:04:23 +0000 (18:04 +0900)
committerKazuhiro <fujieda@users.osdn.me>
Mon, 21 Sep 2015 09:04:23 +0000 (18:04 +0900)
BurageSnap/FormMain.cs

index f0aa054..2080fd9 100644 (file)
@@ -153,7 +153,7 @@ namespace BurageSnap
                     _rectangle = DetectGameScreen(bmp);
                 if (_rectangle.IsEmpty)
                     return;
-                var dir = now.ToString(DateFormat);
+                var dir = Path.Combine(_config.Folder, now.ToString(DateFormat));
                 try
                 {
                     Directory.CreateDirectory(dir);