#include "copyright.h"
-/* $Header: /gd/gnu/cvsroot/emacs/oldXMenu/AddSel.c,v 1.1 1999/10/03 19:34:52 fx Exp $ */
+/* $Header: /cvs/emacs/oldXMenu/AddSel.c,v 1.2 2000/01/27 15:30:18 gerd Exp $ */
/* Copyright Massachusetts Institute of Technology 1985 */
/*
int label_length; /* Label lenght in characters. */
int label_width; /* Label width in pixels. */
-
+
/*
* Check for NULL pointers!
*/
*/
label_length = strlen(label);
label_width = XTextWidth(menu->s_fnt_info, label, label_length);
-
+
/*
* Fill the XMSelect structure.
*/
select->data = data;
select->parent_p = pane;
select->help_string = help;
-
+
/*
* Insert the selection at the end of the selection list.
*/