mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-05-28 20:41:33 +00:00
EMAIL: Moved a couple of small routines to LC
This commit is contained in:
parent
379af62ac6
commit
3608cf7c8c
|
@ -169,6 +169,7 @@ void pr_spc(uint8_t n) {
|
|||
/*
|
||||
* Save preferences
|
||||
*/
|
||||
#pragma code-name (push, "LC")
|
||||
void save_prefs(void) {
|
||||
_filetype = PRODOS_T_TXT;
|
||||
_auxtype = 0;
|
||||
|
@ -178,10 +179,12 @@ void save_prefs(void) {
|
|||
fprintf(fp, "order:%s", (reverse ? "<" : ">"));
|
||||
fclose(fp);
|
||||
}
|
||||
#pragma code-name (pop)
|
||||
|
||||
/*
|
||||
* Load preferences
|
||||
*/
|
||||
#pragma code-name (push, "LC")
|
||||
void load_prefs(void) {
|
||||
char order = 'a';
|
||||
fp = fopen("EMAIL.PREFS", "rb");
|
||||
|
@ -191,6 +194,7 @@ void load_prefs(void) {
|
|||
fclose(fp);
|
||||
reverse = (order == '<' ? 1 : 0);
|
||||
}
|
||||
#pragma code-name (pop)
|
||||
|
||||
/*
|
||||
* Print ASCII-art envelope
|
||||
|
|
Loading…
Reference in New Issue
Block a user