diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-04-10 08:47:40 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-04-10 08:47:40 +0000 |
commit | 3885559f436ed4ee84ebf90bf3d39648e16f5b3b (patch) | |
tree | e4ffb31cd1d23e5899230334f174cea8f5d1cb53 /src/xkbtext.c | |
parent | c3bc59c223ce4de8d6cce98c005a8f44bfa600c6 (diff) |
Fix stupid typos. (Shang-Feng Yang)
Diffstat (limited to 'src/xkbtext.c')
-rw-r--r-- | src/xkbtext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xkbtext.c b/src/xkbtext.c index 726dc54..672e651 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); + Xfree(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= Xalloc(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); + Xfree(tmp); return rtrn; } |