Attached patch was probably discarded in the mailing list archive so
here it is again:

Index: lib/Xm/ResEncod.c
===================================================================
RCS file: /cvs/openmotif/lib/Xm/ResEncod.c,v
retrieving revision 1.9
diff -u -3 -p -r1.9 ResEncod.c
--- lib/Xm/ResEncod.c   13 Aug 2007 13:25:21 -0000      1.9
+++ lib/Xm/ResEncod.c   31 Aug 2007 12:34:03 -0000
@@ -2524,6 +2524,7 @@ processCharsetAndTextUtf8(XmStringCharSe
   /* Now copy in the text */
   if (ctlen > 0) {
     char *text = Convert(ctext, ctlen, "UTF-8", tag);
+    if (text == NULL) return(False);
     *outc = ctextConcat(*outc, *outlen, text, strlen(text));
     *outlen += ctlen;
     XtFree(text);


-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to