From 4a22b6927d2f49cceb1e41f2e00321dccd46392d Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 19 Jun 2009 11:30:31 +0000 Subject: [PATCH] *** empty log message *** --- MDatabase.cs | 10 +++------- database.cs | 2 -- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/MDatabase.cs b/MDatabase.cs index 6574575..539ba4e 100644 --- a/MDatabase.cs +++ b/MDatabase.cs @@ -881,17 +881,13 @@ namespace M17N.Core return null; } - public static DirectoryInfo[] DirectoryList () + public static string[] DirectoryList () { - List dirs = new List (); + List dirs = new List (); for (int i = 1; i < 4; i++) if (DBDirs[i].Dirname != null) - { - DBDirs[i].Refresh (); - if (DBDirs[i].DirInfo != null) - dirs.Add (DBDirs[i].DirInfo); - } + dirs.Add (DBDirs[i].Dirname); return dirs.ToArray (); } diff --git a/database.cs b/database.cs index 22f6c08..6929a43 100644 --- a/database.cs +++ b/database.cs @@ -14,8 +14,6 @@ public class Test MSymbol.t, MSymbol.Of ("unicode")); - MDatabase.Dump (); - foreach (DirectoryInfo dirinfo in MDatabase.DirectoryList ()) Console.WriteLine (dirinfo.FullName); -- 1.7.10.4