diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-04-10 10:11:35 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-04-10 10:11:35 +0000 |
commit | 5f400a68ee489a1d9206605870b8d4306236170e (patch) | |
tree | 5d1912a91591e9e5f0228571b78f273f6f18ad3b | |
parent | 3885559f436ed4ee84ebf90bf3d39648e16f5b3b (diff) |
Really fix typos.
-rw-r--r-- | src/xkbout.c | 2 | ||||
-rw-r--r-- | 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; } |