[gimp/gimp-2-10] app: fix missing const qualifier.



commit b69c2ef9ce760b46a8b10a71a1484bc15adec231
Author: Jehan <jehan girinstud io>
Date:   Mon Dec 30 00:23:21 2019 +0100

    app: fix missing const qualifier.
    
    Thanks to frogonia for noticing.
    
    (cherry picked from commit 5ec22b672002af755f2c707f6d21fd8a38096a7a)

 app/core/gimp-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/core/gimp-utils.c b/app/core/gimp-utils.c
index 4544f2fa61..82482edf51 100644
--- a/app/core/gimp-utils.c
+++ b/app/core/gimp-utils.c
@@ -627,7 +627,7 @@ is_script (const gchar *filename)
   static gchar **exts = NULL;
 
   const gchar   *ext = strrchr (filename, '.');
-  gchar         *pathext;
+  const gchar   *pathext;
   gint           i;
 
   if (exts == NULL)


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