mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-09-29 08:56:25 +00:00
EMAIL: Fixed out of memory bug (put help() in LC)
This commit is contained in:
parent
faf3a66c53
commit
379af62ac6
@ -1241,6 +1241,7 @@ void purge_deleted(void) {
|
||||
_auxtype = 0;
|
||||
fp2 = fopen(filename, "wb");
|
||||
if (!fp2) {
|
||||
fclose(fp);
|
||||
error(ERR_NONFATAL, "Can't open %s", filename);
|
||||
return;
|
||||
}
|
||||
@ -1865,6 +1866,7 @@ done:
|
||||
/*
|
||||
* Display help screen
|
||||
*/
|
||||
#pragma code-name (push, "LC")
|
||||
void help(void) {
|
||||
clrscr2();
|
||||
printf("%c%s HELP%c\n", INVERSE, PROGNAME, NORMAL);
|
||||
@ -1893,6 +1895,7 @@ void help(void) {
|
||||
fputs("------------------------------------------+------------------------------------", stdout);
|
||||
cgetc();
|
||||
}
|
||||
#pragma code-name (pop)
|
||||
|
||||
/*
|
||||
* Keyboard handler
|
||||
|
Loading…
Reference in New Issue
Block a user