summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 0111869c..ebeb53c3 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1292,8 +1292,8 @@ browse_sigs:
outs(msg_del_ok);
} else {
setutmpmode(EDITSIG);
- aborted = vedit(genbuf, NA, NULL);
- if (aborted != -1)
+ aborted = veditfile(genbuf);
+ if (aborted != EDIT_ABORTED)
outs("簽名檔更新完畢");
}
}
@@ -1315,8 +1315,8 @@ u_editplan(void)
setutmpmode(EDITPLAN);
setuserfile(genbuf, fn_plans);
- aborted = vedit(genbuf, NA, NULL);
- if (aborted != -1)
+ aborted = veditfile(genbuf);
+ if (aborted != EDIT_ABORTED)
outs("名片更新完畢");
pressanykey();
return 0;