2 ===================================================================
3 --- src/interface.c (revision 171)
4 +++ src/interface.c (working copy)
7 home_dir=getenv("HOME");
8 strcpy(hfile_path,home_dir);
9 - strcat(hfile_path,"/.m17n/");
10 + strcat(hfile_path,"/.m17n.d/");
11 strncat(hfile_path,mfile,strlen(mfile));
12 strcat(hfile_path,".mim");
16 home_dir=getenv("HOME");
17 strcpy(custom_dir_path,home_dir);
18 - strcat(custom_dir_path,"/.m17n/");
19 + strcat(custom_dir_path,"/.m17n.d/");
21 n = scandir(custom_dir_path, &namelist, 0, alphasort);
24 lc=get_iso_code(current_mim);
25 sprintf(imname,"(input-method %s %s-inscript)\n\n",lc,filenameprefix);
26 strcpy(hdirpath,home_dir);
27 - strcat(hdirpath,"/.m17n/");
28 + strcat(hdirpath,"/.m17n.d/");
30 if ( stat (hdirpath , &buf ) != 0 )
36 - sprintf(nfilepath,"%s/.m17n/%s-%s-inscript.mim",home_dir,lc,filenameprefix);
37 + sprintf(nfilepath,"%s/.m17n.d/%s-%s-inscript.mim",home_dir,lc,filenameprefix);
38 nfilepath[strlen(nfilepath)]='\0';
39 fpm = fopen(nfilepath, "w+");
43 home_dir=getenv("HOME");
44 strcpy(sdirpath,home_dir);
45 - strcat(sdirpath,"/.m17n/");
46 + strcat(sdirpath,"/.m17n.d/");
48 if ( stat (sdirpath , &buf ) != 0 )