[gthumb] Cannot Save As with uppercase .JPG



commit 1e3076fc4d2162bf58815b27b8918d8c3f9fb716
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Jan 19 11:54:58 2014 +0100

    Cannot Save As with uppercase .JPG
    
    [bug #721281]

 gthumb/gth-file-chooser-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-file-chooser-dialog.c b/gthumb/gth-file-chooser-dialog.c
index 57cc6df..1ada9ee 100644
--- a/gthumb/gth-file-chooser-dialog.c
+++ b/gthumb/gth-file-chooser-dialog.c
@@ -233,7 +233,7 @@ get_format_from_extension (GthFileChooserDialog *self,
                int     i;
 
                for (i = 0; format->extensions[i] != NULL; i++)
-                       if (strcmp (ext, format->extensions[i]) == 0)
+                       if (g_ascii_strcasecmp (ext, format->extensions[i]) == 0)
                                return format;
        }
 


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