diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 21:41:16 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 21:41:16 +0800 |
commit | edd89e653d6dbb25d9c2330082291d90db5d63d3 (patch) | |
tree | 34d3f27130663d4c9433c53e009ca54731f2f537 /mbbsd/edit.c | |
parent | 1482e4d5c5887fe0e1822e7753d4f7273cb38aa5 (diff) | |
download | pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.gz pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.bz2 pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.lz pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.xz pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.zst pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.zip |
move global variable into local, 587 bytes
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r-- | mbbsd/edit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 3de5946c..390e3d30 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -2429,6 +2429,7 @@ vedit(char *fpath, int saveheader, int *islocal) time4_t th = now; int count = 0, tin = 0; textline_t *oldcurrline; + char trans_buffer[256]; currutmp->mode = EDITING; currutmp->destuid = currstat; @@ -2737,7 +2738,8 @@ vedit(char *fpath, int saveheader, int *islocal) unsigned int currstat0 = currstat; setutmpmode(EDITEXP); a_menu("½s¿è»²§U¾¹", "etc/editexp", - (HAS_PERM(PERM_SYSOP) ? SYSOP : NOBODY)); + (HAS_PERM(PERM_SYSOP) ? SYSOP : NOBODY), + trans_buffer); currstat = currstat0; } if (trans_buffer[0]) { |