From db8e4abee4060e1bf59f9feac2557dd1a72aa3c2 Mon Sep 17 00:00:00 2001 From: kcwu Date: Fri, 12 Jun 2009 16:36:08 +0000 Subject: vedit revise * move global save_title[] to local * vedit() vedit2() interface change * add veditfile() for editing normal file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/announce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd/announce.c') diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 1c63105d..cb16cf0b 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -435,7 +435,7 @@ a_newitem(menu_t * pm, int mode) edflags |= EDITFLAG_ALLOWLARGE; } # endif // BN_BBSMOVIE - if (vedit2(fpath, 0, NULL, edflags) == -1) { + if (vedit2(fpath, 0, NULL, NULL, edflags) == -1) { unlink(fpath); pressanykey(); return; @@ -1211,7 +1211,7 @@ a_menu_rec(const char *maintitle, const char *path, } # endif // BN_BBSMOVIE - if (vedit2(fname, NA, NULL, edflags) != -1) { + if (vedit2(fname, NA, NULL, NULL, edflags) != -1) { char fpath[PATHLEN]; fileheader_t fhdr; strlcpy(fpath, path, sizeof(fpath)); -- cgit v1.2.3