Displaying 1 result from an estimated 1 matches for "disp_name".
Did you mean:
disk_name
2008 Apr 28
2
X11 window title setting in X11() Device (PR#11325)
...2:46.000000000 +0200
+++ devX11.c 2008-04-28 16:22:57.000000000 +0200
@@ -2225,6 +2225,9 @@
else strcpy(xd->symbolfamily,fn);
}
+ strncpy(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...