Commit 6993c183 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

keysym: update input file format

parent eca2be7d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment