[Rd] Funny characters in x11 window title (PR#1451)

brahm@alum.mit.edu brahm@alum.mit.edu
Wed, 10 Apr 2002 22:57:12 +0200 (MET DST)

Peter Dalgaard <p.dalgaard@biostat.ku.dk> wrote:
> My bet is that it is X-server dependent what happens with bytes past
> the end of a string set with
>     XChangeProperty(display, xd->window, XA_WM_NAME, XA_STRING,
>                     8, PropModeReplace, (unsigned char*)t, 50);
> (in newX11_Activate and newX11_Deactivate, src/modules/X11/devX11.c).
> Could you try and replace the 50 with strlen(t) or maybe strlen(t)+1 ?

Replacing '50' with 'strlen(t)' in those 2 places cures the problem for me!
                              -- David Brahm (brahm@alum.mit.edu)

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch