[Monodevelop-patches-list] r1140 - trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Mar 10 16:19:47 EST 2004
Author: tberman
Date: 2004-03-10 16:19:47 -0500 (Wed, 10 Mar 2004)
New Revision: 1140
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
Log:
fix bug #55432
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-03-10 19:24:04 UTC (rev 1139)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorDisplayBinding.cs 2004-03-10 21:19:47 UTC (rev 1140)
@@ -34,6 +34,7 @@
public virtual bool CanCreateContentForMimeType (string mimetype)
{
+ if (mimetype == null) return false;
if (mimetype.StartsWith ("text")) return true;
return false;
}
More information about the Monodevelop-patches-list
mailing list