/*
 * This file is part of the OLH On-Line Help system
 *
 *	Chris VanHaren
 *	Lucien Van Elsen
 *      MIT Project Athena
 *
 * Copyright (C) 1990 by the Massachusetts Institute of Technology.
 * For copying and distribution information, see the file "mit-copyright.h".
 *
 *      $Source: /mit/olhdev/src/motif/RCS/menupath.h,v $
 *      $Id: menupath.h,v 1.3 1991/03/14 16:02:25 lwvanels Rel $
 *      $Author: lwvanels $
 */

#ifndef _MENUPATH_
#define _MENUPATH_

extern char *menupath;

#define PATH_SEP_CHAR		'@'

#define set_menupath(e)		menupath[0] = PATH_SEP_CHAR; \
				strcpy(menupath+1, field_value(e, POINTER))
#define del_last_menupath	(rindex(menupath, PATH_SEP_CHAR))[0] = '\0'

#endif
