[gtk/cherry-pick-4f2b1b3c] egl: Fix invalid format string
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/cherry-pick-4f2b1b3c] egl: Fix invalid format string
- Date: Fri, 13 May 2022 21:06:07 +0000 (UTC)
commit 394e0ab3beb856b7b2c9c31ec8ab4466d336963d
Author: Loïc Minier <loic minier ubuntu com>
Date: Wed May 11 19:43:04 2022 +0000
egl: Fix invalid format string
(cherry picked from commit 4f2b1b3cfcf1f11f14993656c21105bbbb9432d7)
gdk/gdkdisplay.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 31f039d749..07487e8799 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]