summaryrefslogtreecommitdiffstats
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-02-11 18:19:38 +0100
committerBram Moolenaar <Bram@vim.org>2010-02-11 18:19:38 +0100
commitb4990bf90bf9629e036a2636679c3b8f3f6cd552 (patch)
tree7886780ed6a6e0bd49d4f60c9bbe9342f817c338 /src/gui_gtk_x11.c
parent0413d48711cee4f3b70a097652e502009dc744b4 (diff)
updated for version 7.2.358v7.2.358
Problem: Compiler warnings on VMS. (Zoltan Arpadffy) Solution: Pass array itself instead its address. Return a value.
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index de8f265ec7..f905eaf671 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -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;