diff options
Diffstat (limited to 'mbbsd/calendar.c')
-rw-r--r-- | mbbsd/calendar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/calendar.c b/mbbsd/calendar.c index db3f4f43..3aeea05d 100644 --- a/mbbsd/calendar.c +++ b/mbbsd/calendar.c @@ -264,8 +264,8 @@ u_editcalendar(void) setutmpmode(EDITPLAN); sethomefile(genbuf, cuser.userid, "calendar"); - aborted = vedit(genbuf, NA, NULL); - if (aborted != -1) + aborted = veditfile(genbuf); + if (aborted != EDIT_ABORTED) vmsg("行事曆更新完畢"); return 0; } else if (genbuf[0] == 'd') { |