Merge branch 'cherry-pick-4f2b1b3c' into 'gtk-4-6'

egl: Fix invalid format string

See merge request GNOME/gtk!4727
This commit is contained in:
Matthias Clasen 2022-05-14 00:41:32 +00:00
commit 9ea6bcb7b3

View File

@ -1628,10 +1628,10 @@ gdk_display_check_egl_extensions (EGLDisplay egl_display,
/* translators: Arguments are the number of missing extensions
* followed by a comma-separated list of their names */
g_dngettext (GETTEXT_PACKAGE,
"EGL implementation is missing extension %2$s",
"EGL implementation is missing %d extensions: %s",
"EGL implementation is missing extension %s",
"EGL implementation is missing %2$d extensions: %1$s",
n_missing),
(int) n_missing, missing->str);
missing->str, (int) n_missing);
g_string_free (missing, TRUE);
return FALSE;