/*
 * 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: /afs/sipb.mit.edu/project/sipb-athena/repository/src/olh/motif/menupath.h,v $
 *      $Id: menupath.h,v 1.1 1992/05/01 17:09:41 lwvanels Exp $
 *      $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
