[f-spot] Adding the other jpeg extensions



commit 529e63147a1404182ab886da9a0e3e2b7fa323c5
Author: Stephen Shaw <sshaw decriptor com>
Date:   Fri Sep 30 17:43:57 2011 -0600

    Adding the other jpeg extensions
    
    Looking back at the history the other extensions were added to
    the name table without being added to this function.

 src/Clients/MainApp/FSpot.Imaging/ImageFile.cs |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs b/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs
index cc64c8c..b5ea776 100644
--- a/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs
+++ b/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs
@@ -194,9 +194,7 @@ namespace FSpot.Imaging {
 
 		public static bool IsJpeg (SafeUri uri)
 		{
-            // What about the other jpeg extensions?  Is there a
-            // reason they aren't listed as well?
-			string [] jpg_extensions = {".jpg", ".jpeg"};
+            string [] jpg_extensions = {".jpg", ".jpeg", ".jpe", ".jfi", ".jfif", ".jif"};
 			var extension = uri.GetExtension ().ToLower ();
 			foreach (string ext in jpg_extensions)
 				if (ext == extension)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]