summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-04-15 21:00:38 +0000
committerBram Moolenaar <Bram@vim.org>2005-04-15 21:00:38 +0000
commit402d2fea7025356c7abcb891017a1b7ddf99cbbf (patch)
tree83c5973b6316912331d4a4c070996d7888097e5c /src/gui_w32.c
parent4499d2ee58db42e4ec59bb2c2dbb5eeca2313e8b (diff)
updated for version 7.0066
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 50c5e59397..e83ff40602 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1794,7 +1794,7 @@ gui_mch_draw_string(
#ifdef FEAT_MBYTE
static WCHAR *unicodebuf = NULL;
static int *unicodepdy = NULL;
- int unibuflen = 0;
+ static int unibuflen = 0;
int n = 0;
#endif
HPEN hpen, old_pen;
@@ -1923,7 +1923,7 @@ gui_mch_draw_string(
break;
/* Check if the Unicode buffer exists and is big enough. Create it
- * with the same lengt as the multi-byte string, the number of wide
+ * with the same length as the multi-byte string, the number of wide
* characters is always equal or smaller. */
if ((enc_utf8
|| (enc_codepage > 0 && (int)GetACP() != enc_codepage)