Index: ap_UnixPrefs.cpp =================================================================== RCS file: /cvsroot/abi/src/wp/ap/unix/ap_UnixPrefs.cpp,v retrieving revision 1.20 diff -u -r1.20 ap_UnixPrefs.cpp --- ap_UnixPrefs.cpp 28 Aug 2003 21:00:30 -0000 1.20 +++ ap_UnixPrefs.cpp 1 Sep 2003 13:54:39 -0000 @@ -104,8 +104,9 @@ // we'll try this quick conversion if (lc_ctype != NULL && strlen(lc_ctype) >= 5) { - if (lc_ctype[2] == '_') - lc_ctype[2] = '-'; + char * uscore = strchr(lc_ctype, '_'); + if (uscore) + *uscore = '-'; char* modifier = strrchr(lc_ctype,'@'); /*