Displaying 1 result from an estimated 1 matches for "whitecolor".
2008 Apr 28
2
X11 window title setting in X11() Device (PR#11325)
...cpy(xd->title, title, 100);
+ xd->title[100] = '\0';
+
/* Start the Device Driver and Hardcopy. */
if (!X11_Open(dd, xd, disp_name, width, height,
@@ -2238,8 +2241,6 @@
xd->fill = 0xffffffff; /* this is needed to ensure that the
first newpage does set whitecolor
if par("bg") is not transparent */
- strncpy(xd->title, title, 100);
- xd->title[100] = '\0';
#if BUG
R_ProcessX11Events((void*) NULL);
--=-=-=--