summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mail.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index d6d4e3d9..7c88cd1b 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1,4 +1,4 @@
-/* $Id: mail.c,v 1.18 2002/07/05 17:10:27 in2 Exp $ */
+/* $Id: mail.c,v 1.19 2002/07/20 08:51:00 in2 Exp $ */
#include "bbs.h"
char currmaildir[32];
static char msg_cc[] = "\033[32m[�s�զW��]\033[m\n";
@@ -297,8 +297,7 @@ do_send(char *userid, char *title)
i = belong(fpath, cuser.userid);
sethomefile(fpath, userid, FN_REJECT);
- if (i || !belong(fpath, cuser.userid))
- //Ptt: ��belong � ��I � Q � �
+ if (i || !belong(fpath, cuser.userid)) /* Ptt: ��belong���I�Q�� */
{
sethomedir(fpath, userid);
if (append_record(fpath, &mhdr, sizeof(mhdr)) == -1)
@@ -1291,13 +1290,13 @@ mail_waterball(int ent, fileheader_t * fhdr, char *direct)
}
if (!address[0])
strcpy(address, cuser.email);
- move(b_lines - 5, 0);
+ move(b_lines - 8, 0);
outs("���y��z�{��:\n"
"�t�αN�|���өM���P�H�᪺���y�U�ۿW��\n"
"����I���ɭ� (�y�W�ɬq���~) �N��ƾ�z�n�H�e���z\n\n\n");
if (address[0]) {
sprintf(genbuf, "�H�� [%s] ��(Y/N/Q)�H[Y] ", address);
- getdata(b_lines - 2, 0, genbuf, fname, 3, LCECHO);
+ getdata(b_lines - 5, 0, genbuf, fname, 3, LCECHO);
if (fname[0] == 'q') {
outmsg("�����B�z");
return 1;
@@ -1306,7 +1305,7 @@ mail_waterball(int ent, fileheader_t * fhdr, char *direct)
address[0] = '\0';
}
if (!address[0]) {
- getdata(b_lines - 2, 0, "�п�J�l��a�}�G", fname, 60, DOECHO);
+ getdata(b_lines - 5, 0, "�п�J�l��a�}�G", fname, 60, DOECHO);
if (fname[0] && strchr(fname, '.')) {
strcpy(address, fname);
} else {
@@ -1318,6 +1317,10 @@ mail_waterball(int ent, fileheader_t * fhdr, char *direct)
return -2;
//sprintf(fname, "%d\n", cmode);
+ move(b_lines - 4, 0);
+ outs("�t�δ��Ѩ�ؼҦ�: \n"
+ "�Ҧ� 0: ��²�Ҧ�, �N���t�C�ⱱ��X, ��K�H�¤�r�s�边��z����\n"
+ "�Ҧ� 1: ���R�Ҧ�, �]�t�C�ⱱ��X��, ��K�b bbs�W�����s�覬��\n");
getdata(b_lines - 1, 0, "�ϥμҦ�(0/1/Q)? [1]", fname, 3, LCECHO);
if (fname[0] == 'Q' || fname[0] == 'q') {
outmsg("�����B�z");