/*
 * RTFGetLibPrefix() - return a string describing the library directory,
 * including the separator character between the directory name and the
 * basename.
 */

# include	<stdio.h>

# ifdef THINK_C
# include	"macintosh.h"
# endif
# include	"rtf.h"


char *RTFGetLibPrefix ()
{
#ifndef THINK_C
static char	buf[rtfBufSiz];
int	len;

	(void) strcpy (buf, LIBDIR);
	len = strlen (buf);
	buf[len] = rtfPathSep;
	buf[len+1] = '\0';
	return (buf);
#else
	return (get_home_dir ());
#endif
}
