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 | |
parent | c3bc59c223ce4de8d6cce98c005a8f44bfa600c6 (diff) |
Fix stupid typos. (Shang-Feng Yang)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/xkbout.c | 2 | ||||
-rw-r--r-- | src/xkbtext.c | 6 |
3 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,9 @@ +2006-04-10 Daniel Stone <daniel@freedesktop.org> + + * src/xkbtext.c: + * src/xkbout.c: + Fix stupid typos. (Shang-Feng Yang) + 2006-04-09 Daniel Stone <daniel@freedesktop.org> * src/xkbtext.c: diff --git a/src/xkbout.c b/src/xkbout.c index e5ada51..f988eec 100644 --- a/src/xkbout.c +++ b/src/xkbout.c @@ -266,7 +266,7 @@ XkbDescPtr xkb; char *tmp; xkb= result->xkb; - tmp = XkbGetAtomString(xkb->dpy, name); + tmp = XkbAtomGetString(xkb->dpy, name); fprintf(file," indicator \"%s\" {\n",tmp); xfree(tmp); if (led->flags&XkbIM_NoExplicit) 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; } |