Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!MODAL375.ME.VT.EDU!hildjj From: hildjj@MODAL375.ME.VT.EDU (Joe Hildebrand) Newsgroups: comp.windows.x.motif Subject: _XmCharsetCanonicalize() crashing in motif 1.1.1 Message-ID: <9103260201.AA05622@BU.EDU> Date: 26 Mar 91 01:58:47 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 32 > I am using Douglas Young's xs_str_array_to_xmstr function > (from The X Window System, Douglas Young, Prentice Hall, 1990, p. 237) > and it works great in motif 1.1, but I've been getting a core dump > at the following call when using motif 1.1.1: > xmstr = XmStringConcat(xmstr, > XmStringCreate(cs[i], > XmSTRING_DEFAULT_CHARSET) > ); Maybe there is some reason why you really want to use this function, but an equivalent one (i think) is: XmString XmS(strig) char *strig; { return(XmStringLtoRCreate(strig, XmSTRING_DEFAULT_CHARSET)); } Where you just put a '\n' into your string whenever you want a new line. -joe _ ________ \\ //------ \\ // || All opinions are my own, \\// || -rw-r--r-- 1 hildjj users 2048 Mar 215 08:59 opinions -- Joe Hildebrand [hildjj@modal375.me.vt.edu (128.173.5.186)] Virginia Tech Department of Mechanical Engineering Blacksburg, VA and Babcock & Wilcox Nuclear Services, Lynchburg, VA (804)847-3953