From ca8cef1660ad89ab488a22dc50eeb7cd77222c6e Mon Sep 17 00:00:00 2001 From: Ivy Foster Date: Thu, 1 Sep 2016 18:50:20 -0500 Subject: Add $MBLAZE environment variable to set profile location As a side benefit, all callers of blaze822_home_file need only pass the filename, so the base directory is set in only one place. --- mscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mscan.c') diff --git a/mscan.c b/mscan.c index bd0951c..f3fdab9 100644 --- a/mscan.c +++ b/mscan.c @@ -517,7 +517,7 @@ main(int argc, char *argv[]) if (cols <= 40) cols = 80; - char *f = blaze822_home_file(".mblaze/profile"); + char *f = blaze822_home_file("profile"); struct message *config = blaze822(f); if (config) { -- cgit 1.4.1