[vlc-commits] keysym: update input file format

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


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

keysym: update input file format

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6993c183817e051d0afd864f0a8f1aa53338ace4
---

 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