comparison src/xfns.c @ 17579:8dd146dbe737

Comment change.
author Richard M. Stallman <rms@gnu.org>
date Sun, 27 Apr 1997 18:02:16 +0000
parents c0f8f4264f7a
children 8c878d76d6a4
comparison
equal deleted inserted replaced
17578:86a3f6bf749a 17579:8dd146dbe737
2718 PIXEL_WIDTH (f) + extra_borders, 2718 PIXEL_WIDTH (f) + extra_borders,
2719 PIXEL_HEIGHT (f) + menubar_size + extra_borders); 2719 PIXEL_HEIGHT (f) + menubar_size + extra_borders);
2720 } 2720 }
2721 2721
2722 len = strlen (shell_position) + 1; 2722 len = strlen (shell_position) + 1;
2723 /* We don't free this because we don't know whether
2724 it is safe to free it while the frame exists.
2725 It isn't worth the trouble of arranging to free it
2726 when the frame is deleted. */
2723 tem = (char *) xmalloc (len); 2727 tem = (char *) xmalloc (len);
2724 strncpy (tem, shell_position, len); 2728 strncpy (tem, shell_position, len);
2725 XtSetArg (al[ac], XtNgeometry, tem); ac++; 2729 XtSetArg (al[ac], XtNgeometry, tem); ac++;
2726 XtSetValues (shell_widget, al, ac); 2730 XtSetValues (shell_widget, al, ac);
2727 } 2731 }