[vlc-commits] keysym: update input file format

Rémi Denis-Courmont git at videolan.org
Wed May 23 20:36:27 CEST 2018


vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 23 21:00:57 2018 +0300| [21feddc321f938cbdb5d701e4ba927500322ab65] | committer: Rémi Denis-Courmont

keysym: update input file format

(cherry picked from commit 6993c183817e051d0afd864f0a8f1aa53338ace4)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=21feddc321f938cbdb5d701e4ba927500322ab65
---

 modules/video_output/xcb/keysym.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/xcb/keysym.c b/modules/video_output/xcb/keysym.c
index ad4e31c8a7..7333bd9005 100644
--- a/modules/video_output/xcb/keysym.c
+++ b/modules/video_output/xcb/keysym.c
@@ -79,9 +79,9 @@ static int parse (FILE *in)
         if (sym == NULL)
             abort ();
 
-        int val = sscanf (line,
-                          "#define XK_%31s %"SCNu32" /*%*cU+%"SCNx32" %63[^*]",
-                          sym->xname, &sym->xsym, &sym->usym, sym->uname);
+        int val = sscanf(line,
+                         "#define XK_%31s 0x%"SCNx32" /*%*cU+%"SCNx32" %63[^*]",
+                         sym->xname, &sym->xsym, &sym->usym, sym->uname);
         if (val < 3)
         {
             free (sym);



More information about the vlc-commits mailing list