summaryrefslogtreecommitdiff
path: root/src/xkbtext.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-04-10 08:47:40 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-04-10 08:47:40 +0000
commit3885559f436ed4ee84ebf90bf3d39648e16f5b3b (patch)
treee4ffb31cd1d23e5899230334f174cea8f5d1cb53 /src/xkbtext.c
parentc3bc59c223ce4de8d6cce98c005a8f44bfa600c6 (diff)
Fix stupid typos. (Shang-Feng Yang)
Diffstat (limited to 'src/xkbtext.c')
-rw-r--r--src/xkbtext.c6
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;
}