summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 11:28:20 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 11:28:20 +0800
commita8cf565dba1c16207d35c147ff876853126b9b8d (patch)
treef2d367e722d784e91552fc5a6a2c48219aea0fa6 /mbbsd/edit.c
parenta0f8ef1e2e04905908478088fc376435b770417c (diff)
downloadpttbbs-a8cf565dba1c16207d35c147ff876853126b9b8d.tar
pttbbs-a8cf565dba1c16207d35c147ff876853126b9b8d.tar.gz
pttbbs-a8cf565dba1c16207d35c147ff876853126b9b8d.tar.bz2
pttbbs-a8cf565dba1c16207d35c147ff876853126b9b8d.tar.lz
pttbbs-a8cf565dba1c16207d35c147ff876853126b9b8d.tar.xz
pttbbs-a8cf565dba1c16207d35c147ff876853126b9b8d.tar.zst
pttbbs-a8cf565dba1c16207d35c147ff876853126b9b8d.zip
eliminate warning messages
and make rawmode in edit.c more suitable for dbcs aware mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 990155cc..53e6dea3 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -2555,6 +2555,8 @@ vedit(char *fpath, int saveheader, int *islocal)
count = 0;
tin = interval;
}
+#ifndef DBCSAWARE_EDIT
+ /* this is almost useless! */
if (curr_buf->raw_mode) {
switch (ch) {
case Ctrl('S'):
@@ -2563,6 +2565,7 @@ vedit(char *fpath, int saveheader, int *islocal)
continue;
}
}
+#endif
if (phone_mode_filter(ch))
continue;