diff options
Diffstat (limited to 'src/xkbout.c')
-rw-r--r-- | src/xkbout.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xkbout.c b/src/xkbout.c index 5a2e4e1..a5593fa 100644 --- a/src/xkbout.c +++ b/src/xkbout.c @@ -263,9 +263,12 @@ WriteXKBIndicatorMap( FILE * file, void * priv) { XkbDescPtr xkb; +char *tmp; xkb= result->xkb; - fprintf(file," indicator \"%s\" {\n",XkbAtomGetString(xkb->dpy,name)); + tmp = XkbGetAtomString(xkb->dpy, name); + fprintf(file," indicator \"%s\" {\n",tmp); + xfree(tmp); if (led->flags&XkbIM_NoExplicit) fprintf(file," !allowExplicit;\n"); if (led->flags&XkbIM_LEDDrivesKB) |