- Timestamp:
- 09/01/12 17:47:56 (5 months ago)
- Files:
-
- 1 modified
-
trunk/EDIT4/ED4_root.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/EDIT4/ED4_root.cxx
r8313 r8328 1866 1866 char *propname = NULL; 1867 1867 1868 for (int mode = 0; !propname && mode <= 2; ++mode) { // search for properties-database 1868 // check if edit4_?na.arb / edit4_ali_???.arb exist in .arb_props 1869 for (int mode = 0; !propname && mode <= 1; ++mode) { 1869 1870 const char *fullprop = GB_path_in_arbprop(ED4_propertyName(mode)); 1870 if ( mode == 2 ||GB_is_regularfile(fullprop)) {1871 if (GB_is_regularfile(fullprop)) { 1871 1872 freedup(propname, fullprop); 1872 1873 } 1874 } 1875 1876 // if not, use 'mode 2', i.e. "edit4.arb" 1877 // (no full path, we want to load default from arb_defaults) 1878 if (!propname) { 1879 freedup(propname, ED4_propertyName(2)); 1873 1880 } 1874 1881
