app: fixing bug created in commit cde861a0e6.

While other parts of the commits were fine, this specific change was
clearly me going too fast. This is the format for a printf() call.

Fixes:

> app/widgets/gimpimagepropview.c:461:50: warning: format ‘%a’ expects argument of type ‘double’, but argument 4 has type ‘const gchar *’ {aka ‘const char *’} [-Wformat=]
This commit is contained in:
Jehan 2024-08-09 19:03:49 +02:00
parent e9fd83c5ec
commit 3c388c78ac
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ gimp_image_prop_view_update (GimpImagePropView *view)
unit = gimp_image_get_unit (image);
unit_factor = gimp_unit_get_factor (unit);
g_snprintf (format_buf, sizeof (format_buf), _("pixels/%a"),
g_snprintf (format_buf, sizeof (format_buf), _("pixels/%s"),
gimp_unit_get_abbreviation (unit));
g_snprintf (buf, sizeof (buf), _("%g × %g %s"),
xres / unit_factor,