Fixed one wrongly function call with pointer
[geeqie.git] / src / color-man.c
index e4f1bab..8e485bc 100644 (file)
@@ -435,7 +435,7 @@ static gchar *color_man_get_profile_name(ColorManProfileType type, cmsHPROFILE p
                                cmsUInt32Number r;
                                char buffer[20];
                                buffer[0] = '\0';
-                               r = cmsGetProfileInfoASCII(profile, cmsInfoDescription, "en", "US", &buffer, 20);
+                               r = cmsGetProfileInfoASCII(profile, cmsInfoDescription, "en", "US", buffer, 20);
                                buffer[19] = '\0'; /* Just to be sure */
                                return g_strdup(buffer);
 #else