if (!arg) {
n1 = 9.5;
- strncpy(box, MAIL_FILE, sizeof(box));
+ /* Kapil: Changed from MAIL_FILE to
+ current_mail_spool since the latter
+ is a copy of the former if undefined
+ but the latter should take precedence
+ if defined */
+ strncpy(box, current_mail_spool, sizeof(box));
} else {
if (sscanf(arg, "%s %f", box, &n1) != 2) {
n1 = 9.5;
if (!arg) {
n1 = 9.5;
- strncpy(box, MAIL_FILE, sizeof(box));
+ /* Kapil: Changed from MAIL_FILE to
+ current_mail_spool since the latter
+ is a copy of the former if undefined
+ but the latter should take precedence
+ if defined */
+ strncpy(box, current_mail_spool, sizeof(box));
} else {
if (sscanf(arg, "%s %f", box, &n1) != 2) {
n1 = 9.5;
}
} /* else { window.type != TYPE_OVERRIDE */
- fprintf(stderr, "Conky: drawing to created window (%lx)\n",
+ fprintf(stderr, "Conky: drawing to created window (0x%lx)\n",
window.window);
fflush(stderr);