Path: utzoo!attcan!uunet!mcsun!unido!tub!net From: net@tub.UUCP (Oliver Laumann) Newsgroups: comp.windows.x Subject: Bug in X11R4? Message-ID: <1157@tub.UUCP> Date: 1 Feb 90 17:44:19 GMT Reply-To: net@tub.UUCP (Oliver Laumann) Organization: Technical University of Berlin, Germany Lines: 16 XStringListToTextProperty() doesn't seem to return a sensible result when it is invoked with an empty string list. The following program prints "status 1 nitems -1". I think it should print "status 1 nitems 0". Am I missing something? main () { XTextProperty p; int status; status = XStringListToTextProperty ((char **)0, 0, &p); printf ("status %d nitems %d\n", status, p.nitems); } Regards, -- Oliver Laumann net@TUB.BITNET net@tub.cs.tu-berlin.de net@tub.UUCP