# HG changeset patch # User Gerd Moellmann # Date 948987018 0 # Node ID d93b1a9c3c96adfd682cb114b61d56b7279b1a42 # Parent 60bf61bbd0b32cdf12e7766489a556ac90130380 (XMenuAddSelection): Add parameter HELP. diff -r 60bf61bbd0b3 -r d93b1a9c3c96 oldXMenu/AddSel.c --- a/oldXMenu/AddSel.c Thu Jan 27 15:29:38 2000 +0000 +++ b/oldXMenu/AddSel.c Thu Jan 27 15:30:18 2000 +0000 @@ -1,6 +1,6 @@ #include "copyright.h" -/* $Header: /u/src/emacs/19.0/oldXMenu/RCS/AddSel.c,v 1.1 1992/04/11 22:10:17 jimb Exp $ */ +/* $Header: /gd/gnu/cvsroot/emacs/oldXMenu/AddSel.c,v 1.1 1999/10/03 19:34:52 fx Exp $ */ /* Copyright Massachusetts Institute of Technology 1985 */ /* @@ -17,13 +17,14 @@ #include "XMenuInt.h" int -XMenuAddSelection(display, menu, p_num, data, label, active) +XMenuAddSelection(display, menu, p_num, data, label, active, help) Display *display; register XMenu *menu; /* Menu object to be modified. */ register int p_num; /* Pane number to be modified. */ char *data; /* Data value. */ char *label; /* Selection label. */ int active; /* Make selection active? */ + char *help; /* Help string */ { register XMPane *pane; /* Pane containing the new selection. */ register XMSelect *select; /* Newly created selection. */ @@ -79,6 +80,7 @@ select->label_length = label_length; select->data = data; select->parent_p = pane; + select->help_string = help; /* * Insert the selection at the end of the selection list.