Signed-off-by: Ran Benita <ran234@gmail.com>
key->shape_ndx = 0;
else
{
- ShapeInfo *si;
- si = FindShape(info, ki->shape, "key", keyText(ki));
- if (!si)
+ ShapeInfo *shapei;
+ shapei = FindShape(info, ki->shape, "key", keyText(ki));
+ if (!shapei)
return False;
- key->shape_ndx = si->index;
+ key->shape_ndx = shapei->index;
}
if (ki->color != None)
color =
if (j < (int) XkbKeyNumSyms(xkb, i))
{
gotOne = True;
- if ((XkbKeySym(xkb, i, j) == sym))
+ if (XkbKeySym(xkb, i, j) == sym)
{
*kc_rtrn = i;
return True;
#define FATAL uFatalError
-extern __ATTR_PRINTF(1, 2) void
+extern __ATTR_PRINTF(1, 2) _X_NORETURN void
uFatalError(const char *s, ...);
/* WSGO stands for "Weird Stuff Going On" (wtf???) */