Author: toshok
Date: 2008-02-02 17:24:12 -0500 (Sat, 02 Feb 2008)
New Revision: 94656
Modified:
trunk/moon/tools/mopen/mopen.cs
Log:
treat non-matching filenames as xaml. this lets you mopen a mozilla cache file
without renaming it.
Modified: trunk/moon/tools/mopen/mopen.cs
===================================================================
--- trunk/moon/tools/mopen/mopen.cs 2008-02-02 20:57:19 UTC (rev 94655)
+++ trunk/moon/tools/mopen/mopen.cs 2008-02-02 22:24:12 UTC (rev 94656)
@@ -250,17 +250,15 @@
//
static int DoLoad (string file, ArrayList args)
{
- if (file.EndsWith (".xaml"))
- return LoadXaml (file, args);
-
//
// Here:
// implement loading the DLL or executanle, search in path
perhaps?
//
if (file.EndsWith (".dll")){
+ return 1;
}
- return 1;
+ return LoadXaml (file, args);
}
static int Main (string [] args)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches