if (strlen((char*)fromVal->addr) >= sizeof(lowerName)) { XtStringConversionWarning(fromVal->addr, "edgeType"); return; }
static void _CvtStringToEdgeType(args, num_args, fromVal, toVal)    XrmValuePtr args;		/* unused */    Cardinal    *num_args;      /* unused */    XrmValuePtr fromVal;    XrmValuePtr toVal;{    static XtEdgeType edgeType;    XrmQuark q;    char lowerName[1000];    XmuCopyISOLatin1Lowered (lowerName, (char*)fromVal->addr);    q = XrmStringToQuark(lowerName);    if (q == XtQChainLeft) {	edgeType = XtChainLeft;	done(&edgeType, XtEdgeType);    }    if (q == XtQChainRight) {	edgeType = XtChainRight;	done(&edgeType, XtEdgeType);    }    if (q == XtQChainTop) {	edgeType = XtChainTop;	done(&edgeType, XtEdgeType);	/* NOTREACHED */    }    if (q == XtQChainBottom) {	edgeType = XtChainBottom;	done(&edgeType, XtEdgeType);    }    if (q == XtQRubber) {	edgeType = XtRubber;	done(&edgeType, XtEdgeType);    }    XtStringConversionWarning(fromVal->addr, "edgeType");    toVal->addr = NULL;    toVal->size = 0;}