1
0
forked from aniani/vim

updated for version 7.2.358

Problem:    Compiler warnings on VMS. (Zoltan Arpadffy)
Solution:   Pass array itself instead its address.  Return a value.
This commit is contained in:
Bram Moolenaar
2010-02-11 18:19:38 +01:00
parent 0413d48711
commit b4990bf90b
3 changed files with 9 additions and 1 deletions

View File

@@ -6190,7 +6190,7 @@ gui_mch_draw_string(int row, int col, char_u *s, int len, int flags)
int pcc[MAX_MCO];
/* TODO: use the composing characters */
c = utfc_ptr2char_len(p, &pcc, len - (p - s));
c = utfc_ptr2char_len(p, pcc, len - (p - s));
if (c >= 0x10000) /* show chars > 0xffff as ? */
c = 0xbf;
buf[textlen].byte1 = c >> 8;