[Monodevelop-patches-list] r2017 - trunk/MonoDevelop/Core/src/Main/Base/Services/File

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Nov 2 15:26:35 EST 2004


Author: jluke
Date: 2004-11-02 15:26:35 -0500 (Tue, 02 Nov 2004)
New Revision: 2017

Modified:
   trunk/MonoDevelop/Core/src/Main/Base/Services/File/RecentFiles.cs
Log:
foo


Modified: trunk/MonoDevelop/Core/src/Main/Base/Services/File/RecentFiles.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Services/File/RecentFiles.cs	2004-11-02 20:06:23 UTC (rev 2016)
+++ trunk/MonoDevelop/Core/src/Main/Base/Services/File/RecentFiles.cs	2004-11-02 20:26:35 UTC (rev 2017)
@@ -323,7 +323,8 @@
 			// make sure we are in order
 			this.Sort ();
 			// but we need to write in oldest-to-newest order
-			Array.Reverse (RecentItems);
+			if (RecentItems != null)
+				Array.Reverse (RecentItems);
 
 			// if we specifically set Encoding UTF 8 here it writes the BOM
 			// which confuses others (egg-recent-files) I guess




More information about the Monodevelop-patches-list mailing list