Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "217) When can XmStrings used as resources be freed?"
Next document is "219) Why does using XmStringDraw cause a Bad Font error?"

218) Why doesn't XmStringGetNextSegment() work properly?

Answer:  The documentation in Motif 1.0 is in error. Instead of

        XmStringGetnextSegment(context, ...)
        XmStringContext * context;

it should be

        XmStringGetnextSegment(context, ...)
        XmStringContext context;

i.e. with no indirection.

Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "217) When can XmStrings used as resources be freed?"
Next document is "219) Why does using XmStringDraw cause a Bad Font error?"