[gimp] app: fix file_utils_file_with_new_ext() to not just cut off the extension



commit b17cc3823b02fbf7a804a737831397a9acd9e206
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jul 8 00:39:55 2014 +0200

    app: fix file_utils_file_with_new_ext() to not just cut off the extension

 app/file/file-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/file/file-utils.c b/app/file/file-utils.c
index 25b2c4d..da90b55 100644
--- a/app/file/file-utils.c
+++ b/app/file/file-utils.c
@@ -232,7 +232,7 @@ file_utils_file_with_new_ext (GFile *file,
   uri     = g_file_get_uri (file);
   uri_ext = file_utils_uri_get_ext (uri);
 
-  if (ext_uri)
+  if (ext_file)
     {
       ext_uri     = g_file_get_uri (ext_file);
       ext_uri_ext = file_utils_uri_get_ext (ext_uri);


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