From 5f400a68ee489a1d9206605870b8d4306236170e Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 10 Apr 2006 10:11:35 +0000 Subject: Really fix typos. --- src/xkbout.c | 2 +- src/xkbtext.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xkbout.c b/src/xkbout.c index f988eec..1a2b869 100644 --- a/src/xkbout.c +++ b/src/xkbout.c @@ -268,7 +268,7 @@ char *tmp; xkb= result->xkb; tmp = XkbAtomGetString(xkb->dpy, name); fprintf(file," indicator \"%s\" {\n",tmp); - xfree(tmp); + _XkbFree(tmp); if (led->flags&XkbIM_NoExplicit) fprintf(file," !allowExplicit;\n"); if (led->flags&XkbIM_LEDDrivesKB) diff --git a/src/xkbtext.c b/src/xkbtext.c index 672e651..577bdb5 100644 --- a/src/xkbtext.c +++ b/src/xkbtext.c @@ -99,7 +99,7 @@ char *rtrn,*tmp; rtrn= tbGetBuffer(len); strncpy(rtrn,tmp,len); rtrn[len]= '\0'; - Xfree(tmp); + _XkbFree(tmp); } else { rtrn= tbGetBuffer(1); @@ -135,7 +135,7 @@ char *rtrn,*tmp; else if (vmodNames&&(vmodNames[ndx]!=None)) tmp= XkbAtomGetString(dpy,vmodNames[ndx]); if (tmp==NULL) { - tmp= Xalloc(20 * sizeof(char)); + tmp= (char *)_XkbAlloc(20 * sizeof(char)); snprintf(tmp,20,"%d",ndx); } @@ -149,7 +149,7 @@ char *rtrn,*tmp; snprintf(rtrn, len, "vmod_%s", tmp); } else strncpy(rtrn,tmp,len); - Xfree(tmp); + _XkbFree(tmp); return rtrn; } -- cgit v1.2.3