Author: jackson
Date: 2007-04-02 15:04:36 -0400 (Mon, 02 Apr 2007)
New Revision: 75295

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs
Log:
        
        flush



Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs   
2007-04-02 18:36:07 UTC (rev 75294)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs   
2007-04-02 19:04:36 UTC (rev 75295)
@@ -4719,7 +4719,7 @@
                                tag = tag.next;
                        }
 
-                       if (tag.end != end) {
+                       if (tag != null && tag.end != end) {
                                /// Now do the last tag
                                end_tag = FindTag (line, end);
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to