/MirOS/dist/jupp/joe-3.1jupp30.tgz
[alioth/jupp.git] / charmap.c
index 75fe16e..32abf80 100644 (file)
--- a/charmap.c
+++ b/charmap.c
@@ -1,7 +1,7 @@
 #if 0
 .if "0" == "1"
 #endif
-/* $MirOS: contrib/code/jupp/charmap.c,v 1.18 2017/01/10 22:38:33 tg Exp $ */
+/* $MirOS: contrib/code/jupp/charmap.c,v 1.19 2017/01/11 22:04:31 tg Exp $ */
 /*
  *     UNICODE/ISO-10646 conversion utilities
  *     Copyright
@@ -1384,11 +1384,11 @@ find_charmap(const unsigned char *name)
                if (!map_name_cmp(m->name, name))
                        return (m);
 
-       /* Check ~/.joe/charmaps */
+       /* Check ~/.jupp/charmaps */
        p = (unsigned char *)getenv("HOME");
        if (p) {
                joe_snprintf_2((char *)buf, sizeof(buf),
-                   "%s/.joe/charmaps/%s", p, name);
+                   "%s/.jupp/charmaps/%s", p, name);
                f = fopen((char *)buf, "r");
        }
 
@@ -1465,7 +1465,7 @@ get_encodings(void)
        /* External maps */
 
        if ((p = (unsigned char *)getenv("HOME"))) {
-               joe_snprintf_1((char *)buf, sizeof(buf), "%s/.joe/charmaps", p);
+               joe_snprintf_1((char *)buf, sizeof(buf), "%s/.jupp/charmaps", p);
                if (!chpwd(buf) && (t = rexpnd(US "*"))) {
                        for (x = 0; x != aLEN(t); ++x)
                                if (strcmp(t[x], "..")) {