Author: gert
Date: 2007-05-15 14:40:16 -0400 (Tue, 15 May 2007)
New Revision: 77424

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs
Log:
* FileDialog.cs: On 1.0 profile, do not support multidotted extensions.


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-15 18:15:13 UTC (rev 77423)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-15 18:40:16 UTC (rev 77424)
@@ -1,3 +1,8 @@
+2007-05-15  Gert Driesen  <[EMAIL PROTECTED]>
+
+       * FileDialog.cs: On 1.0 profile, do not support multidotted 
+       extensions.
+
 2007-05-14  Jackson Harper  <[EMAIL PROTECTED]>
 
        * TextBoxBase.cs: Implement some of the new 2.0 methods.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs    
2007-05-15 18:15:13 UTC (rev 77423)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs    
2007-05-15 18:40:16 UTC (rev 77424)
@@ -934,12 +934,14 @@
 
 #if NET_2_0
                                                                if 
(!supportMultiDottedExtensions) {
+#endif
                                                                        int 
lastdot = extension.LastIndexOf('.');
                                                                        if 
(lastdot > 0) {
                                                                                
if (extension.LastIndexOf('.', lastdot - 1) != -1) {
                                                                                
        extension = extension.Remove(0, lastdot);
                                                                                
}
                                                                        }
+#if NET_2_0
                                                                }
 #endif
 

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

Reply via email to