diff options
author | marha <marha@users.sourceforge.net> | 2011-11-14 09:38:56 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-11-14 09:38:56 +0100 |
commit | 156e37d3879b316329e3e05579414031da2647e2 (patch) | |
tree | 59fb1dce046fd3aab228e224bff8b0c1d074f876 /xkbcomp/geometry.c | |
parent | d783adea42f29bd7917929597ca1031b70587e1d (diff) | |
download | vcxsrv-156e37d3879b316329e3e05579414031da2647e2.tar.gz vcxsrv-156e37d3879b316329e3e05579414031da2647e2.tar.bz2 vcxsrv-156e37d3879b316329e3e05579414031da2647e2.zip |
libX11 libXext libXinerama libXmu libfontenc libxcb mesa pixman git update
14 nov 2011
Diffstat (limited to 'xkbcomp/geometry.c')
-rw-r--r-- | xkbcomp/geometry.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xkbcomp/geometry.c b/xkbcomp/geometry.c index 6d2ca7f90..7f65c3af4 100644 --- a/xkbcomp/geometry.c +++ b/xkbcomp/geometry.c @@ -366,7 +366,7 @@ InitRowInfo(RowInfo * row, SectionInfo * section, GeometryInfo * info) } else { - bzero(row, sizeof(RowInfo *)); + bzero(row, sizeof(*row)); row->defs.defined = _GR_Default; row->defs.fileID = info->fileID; row->defs.merge = info->merge; @@ -3611,11 +3611,11 @@ CopySectionDef(XkbGeometryPtr geom, SectionInfo * si, GeometryInfo * info) key->shape_ndx = 0; else { - ShapeInfo *si; - si = FindShape(info, ki->shape, "key", keyText(ki)); - if (!si) + ShapeInfo *sinfo; + sinfo = FindShape(info, ki->shape, "key", keyText(ki)); + if (!sinfo) return False; - key->shape_ndx = si->index; + key->shape_ndx = sinfo->index; } if (ki->color != None) color = |