snprintf(buf, sizeof buf, "%s/.citadelrc", getenv("HOME"));
ccfile = fopen(buf, "r");
}
+ if (getenv("APPDIR") != NULL) {
+ snprintf(buf, sizeof buf, "%s/citadel.rc", getenv("APPDIR"));
+ ccfile = fopen(buf, "r");
+ }
if (ccfile == NULL) {
ccfile = fopen(file_citadel_rc, "r");
}