Fixed a bug with the use of an external editor, and removed the limitation

that messages must have at least two lines.
This commit is contained in:
Andrew Leary 2016-10-03 20:23:57 -04:00
parent 38f9f18aa3
commit 3c0b1ef565
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,10 @@ v1.0.6.9 28-Sep-2016 - Andrew Leary
1. Fixed compiler warnings while building the BBS. Thanks to
Ken Bowley for the patches.
2. Fixed a bug with the use of an external editor, and removed
a limitation that forced a message to have at least two lines.
Thanks to Ken Bowley for these patches as well.
v1.0.6.8 20-Jul-2016 - Andrew Leary
1. Fixed the SETUP.sh script to handle installing on fresh

View File

@ -817,7 +817,7 @@ int Save_Msg(int IsReply, faddr *Dest)
Syslog('b', "Entering Save_Msg() Line=%d, Dest=%s", Line, (Dest == NULL)?"NULL":"valid");
if (Line < 2)
if (Line < 1)
return TRUE;
/* Saving message to disk */
@ -2939,7 +2939,7 @@ int Ext_Edit()
i++;
}
changed=TRUE;
Line=i;
Line=i-1;
fclose(fd);
}
free(l);