throw new ArgumentException ("size");
if (app != null){
- string dir = Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData);
+ string dir = Environment.GetFolderPath (Environment.SpecialFolder.Personal);
//Console.WriteLine (dir);
- if (!Directory.Exists (dir)){
- try {
- Directory.CreateDirectory (dir);
- } catch {
- app = null;
- }
- }
- if (app != null)
- histfile = Path.Combine (dir, app) + ".history";
+// if (!Directory.Exists (dir)){
+// try {
+// Directory.CreateDirectory (dir);
+// } catch {
+// app = null;
+// }
+// }
+// if (app != null)
+// histfile = Path.Combine (dir, app) + ".history";
+ histfile = Path.Combine (dir, ".mal-history");
}
history = new string [size];