summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-14 22:05:40 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-14 22:05:40 +0000
commit8348ea624c4b90b119f7102f379ff25c3ff4de97 (patch)
tree254b1d0426570f487ca557e668c86c3806b98c6c /src
parent9f30f50471678a0a986c30b50dce705bdcc991dc (diff)
updated for version 7.0085
Diffstat (limited to 'src')
-rw-r--r--src/gui.h3
-rw-r--r--src/macros.h8
-rw-r--r--src/os_vms.c5
3 files changed, 8 insertions, 8 deletions
diff --git a/src/gui.h b/src/gui.h
index 43311ecc43..d637554366 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -517,8 +517,7 @@ typedef enum
VW_POS_MOUSE,
VW_POS_CENTER,
VW_POS_TOP_CENTER
-}
-gui_win_pos_T;
+} gui_win_pos_T;
#ifdef FIND_REPLACE_DIALOG
/*
diff --git a/src/macros.h b/src/macros.h
index f7bb10dca3..07b02d7076 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -84,10 +84,10 @@
* don't use them for negative values.
*/
#ifdef FEAT_MBYTE
-# define MB_ISLOWER(c) (enc_utf8 && (c) > 0x80 ? utf_islower(c) : (has_mbyte && c > 255 ? FALSE : islower(c)))
-# define MB_ISUPPER(c) (enc_utf8 && (c) > 0x80 ? utf_isupper(c) : (has_mbyte && c > 255 ? FALSE : isupper(c)))
-# define MB_TOLOWER(c) (enc_utf8 && (c) > 0x80 ? utf_tolower(c) : (has_mbyte && c > 255 ? c : TOLOWER_LOC(c)))
-# define MB_TOUPPER(c) (enc_utf8 && (c) > 0x80 ? utf_toupper(c) : (has_mbyte && c > 255 ? c : TOUPPER_LOC(c)))
+# define MB_ISLOWER(c) (enc_utf8 && (c) >= 0x80 ? utf_islower(c) : (has_mbyte && c > 255 ? FALSE : islower(c)))
+# define MB_ISUPPER(c) (enc_utf8 && (c) >= 0x80 ? utf_isupper(c) : (has_mbyte && c > 255 ? FALSE : isupper(c)))
+# define MB_TOLOWER(c) (enc_utf8 && (c) >= 0x80 ? utf_tolower(c) : (has_mbyte && c > 255 ? c : TOLOWER_LOC(c)))
+# define MB_TOUPPER(c) (enc_utf8 && (c) >= 0x80 ? utf_toupper(c) : (has_mbyte && c > 255 ? c : TOUPPER_LOC(c)))
#else
# define MB_ISLOWER(c) islower(c)
# define MB_ISUPPER(c) isupper(c)
diff --git a/src/os_vms.c b/src/os_vms.c
index ab5eca4e19..c26937d8a8 100644
--- a/src/os_vms.c
+++ b/src/os_vms.c
@@ -308,8 +308,9 @@ vms_read(char *inbuf, size_t nbytes)
tt_mode = get_tty();
vul_item(&itmlst[0], 0, TRM$_MODIFIERS,
- (char *)(TRM$M_TM_ESCAPE | TRM$M_TM_NOECHO | TRM$M_TM_NOEDIT |
- TRM$M_TM_NOFILTR | TRM$M_TM_NORECALL | TRM$M_TM_TRMNOECHO), 0);
+ (char *)( TRM$M_TM_ESCAPE | TRM$M_TM_TIMED | TRM$M_TM_NOECHO |
+ TRM$M_TM_NOEDIT | TRM$M_TM_NOFILTR |
+ TRM$M_TM_NORECALL| TRM$M_TM_TRMNOECHO), 0);
vul_item(&itmlst[1], sizeof(trm_mask), TRM$_TERM, (char *)&trm_mask, 0);
function = (IO$_READLBLK | IO$M_EXTEND);