EMAIL: Moved call to load_prefs() to the correct place to fix startup bug.

This commit is contained in:
Bobbi Webber-Manners 2020-09-10 19:33:35 -04:00
parent 8e292fce15
commit 564ca35b2f
2 changed files with 2 additions and 7 deletions

View File

@ -2146,17 +2146,12 @@ void main(void) {
if ((*pp & 0x30) != 0x30)
error(ERR_FATAL, "Need 128K");
// Clear system bit map
for (pp = (uint8_t*)0xbf58; pp <= (uint8_t*)0xbf6f; ++pp)
*pp = 0;
videomode(VIDEOMODE_80COL);
readconfigfile();
reverse = 0;
load_prefs();
first_msg = 1;
read_email_db(first_msg, 1, 0);
selection = 1;
load_prefs();
email_summary();
keyboard_hdlr();
}

View File

@ -6,7 +6,7 @@
#include <stdint.h>
#define PROGNAME "emai//er v1.06"
#define PROGNAME "emai//er v1.07"
// Configuration params from EMAIL.CFG
char cfg_server[40]; // IP of POP3 server