summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index f11ff9d5..750158a2 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -1,4 +1,4 @@
-/* $Id: stuff.c,v 1.4 2002/06/23 03:33:07 ptt Exp $ */
+/* $Id: stuff.c,v 1.5 2002/06/23 03:50:14 ptt Exp $ */
#include "bbs.h"
/* ----------------------------------------------------- */
@@ -287,7 +287,7 @@ time_t gettime(int line, time_t dt)
}while((endtime.tm_mday = atoi(yn))<1 || endtime.tm_mday>31);
sprintf(yn, "%d", ptime->tm_hour);
do{
- getdata_buf(line, 22, "®É(0-23):", yn, 3, LCECHO);
+ getdata_buf(line, 31, "®É(0-23):", yn, 3, LCECHO);
}while(( endtime.tm_hour = atoi(yn))<0 || endtime.tm_hour>23);
return mktime(&endtime);
}