[gtk: 1/2] egl: Fix invalid format string
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] egl: Fix invalid format string
- Date: Thu, 12 May 2022 15:25:33 +0000 (UTC)
commit 4f2b1b3cfcf1f11f14993656c21105bbbb9432d7
Author: Loïc Minier <loic minier ubuntu com>
Date: Wed May 11 19:43:04 2022 +0000
egl: Fix invalid format string
gdk/gdkdisplay.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 38205f2a9b..be5e2f5ff1 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1622,10 +1622,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]