|
Karsten Hopp |
79721c |
To: vim-dev@vim.org
|
|
Karsten Hopp |
79721c |
Subject: Patch 7.1.311
|
|
Karsten Hopp |
79721c |
Fcc: outbox
|
|
Karsten Hopp |
79721c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
79721c |
Mime-Version: 1.0
|
|
Karsten Hopp |
79721c |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
79721c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
79721c |
------------
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
Patch 7.1.311
|
|
Karsten Hopp |
79721c |
Problem: Compiler warning for missing sentinel in X code.
|
|
Karsten Hopp |
79721c |
Solution: Change 0 to NULL. (Markus Heidelberg)
|
|
Karsten Hopp |
79721c |
Files: src/mbyte.c
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
*** ../vim-7.1.310/src/mbyte.c Wed Jun 4 10:59:18 2008
|
|
Karsten Hopp |
79721c |
--- src/mbyte.c Wed Jun 4 18:34:43 2008
|
|
Karsten Hopp |
79721c |
***************
|
|
Karsten Hopp |
79721c |
*** 5520,5532 ****
|
|
Karsten Hopp |
79721c |
preedit_caret_cb.callback = (XIMProc)preedit_caret_cbproc;
|
|
Karsten Hopp |
79721c |
preedit_done_cb.callback = (XIMProc)preedit_done_cbproc;
|
|
Karsten Hopp |
79721c |
preedit_attr
|
|
Karsten Hopp |
79721c |
! = XVaCreateNestedList (0,
|
|
Karsten Hopp |
79721c |
XNPreeditStartCallback, &preedit_start_cb,
|
|
Karsten Hopp |
79721c |
XNPreeditDrawCallback, &preedit_draw_cb,
|
|
Karsten Hopp |
79721c |
XNPreeditCaretCallback, &preedit_caret_cb,
|
|
Karsten Hopp |
79721c |
XNPreeditDoneCallback, &preedit_done_cb,
|
|
Karsten Hopp |
79721c |
! 0);
|
|
Karsten Hopp |
79721c |
! XSetICValues (xxic, XNPreeditAttributes, preedit_attr, 0);
|
|
Karsten Hopp |
79721c |
XFree(preedit_attr);
|
|
Karsten Hopp |
79721c |
}
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
--- 5520,5532 ----
|
|
Karsten Hopp |
79721c |
preedit_caret_cb.callback = (XIMProc)preedit_caret_cbproc;
|
|
Karsten Hopp |
79721c |
preedit_done_cb.callback = (XIMProc)preedit_done_cbproc;
|
|
Karsten Hopp |
79721c |
preedit_attr
|
|
Karsten Hopp |
79721c |
! = XVaCreateNestedList(0,
|
|
Karsten Hopp |
79721c |
XNPreeditStartCallback, &preedit_start_cb,
|
|
Karsten Hopp |
79721c |
XNPreeditDrawCallback, &preedit_draw_cb,
|
|
Karsten Hopp |
79721c |
XNPreeditCaretCallback, &preedit_caret_cb,
|
|
Karsten Hopp |
79721c |
XNPreeditDoneCallback, &preedit_done_cb,
|
|
Karsten Hopp |
79721c |
! NULL);
|
|
Karsten Hopp |
79721c |
! XSetICValues(xxic, XNPreeditAttributes, preedit_attr, NULL);
|
|
Karsten Hopp |
79721c |
XFree(preedit_attr);
|
|
Karsten Hopp |
79721c |
}
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
***************
|
|
Karsten Hopp |
79721c |
*** 5536,5542 ****
|
|
Karsten Hopp |
79721c |
{
|
|
Karsten Hopp |
79721c |
#ifdef USE_X11R6_XIM
|
|
Karsten Hopp |
79721c |
/* don't change the input context when we call reset */
|
|
Karsten Hopp |
79721c |
! XSetICValues(((GdkICPrivate*)ic)->xic, XNResetState, XIMPreserveState, 0);
|
|
Karsten Hopp |
79721c |
#endif
|
|
Karsten Hopp |
79721c |
}
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
--- 5536,5543 ----
|
|
Karsten Hopp |
79721c |
{
|
|
Karsten Hopp |
79721c |
#ifdef USE_X11R6_XIM
|
|
Karsten Hopp |
79721c |
/* don't change the input context when we call reset */
|
|
Karsten Hopp |
79721c |
! XSetICValues(((GdkICPrivate *)ic)->xic, XNResetState, XIMPreserveState,
|
|
Karsten Hopp |
79721c |
! NULL);
|
|
Karsten Hopp |
79721c |
#endif
|
|
Karsten Hopp |
79721c |
}
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
*** ../vim-7.1.310/src/version.c Wed Jun 4 19:36:56 2008
|
|
Karsten Hopp |
79721c |
--- src/version.c Wed Jun 4 21:34:00 2008
|
|
Karsten Hopp |
79721c |
***************
|
|
Karsten Hopp |
79721c |
*** 668,669 ****
|
|
Karsten Hopp |
79721c |
--- 673,676 ----
|
|
Karsten Hopp |
79721c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
79721c |
+ /**/
|
|
Karsten Hopp |
79721c |
+ 311,
|
|
Karsten Hopp |
79721c |
/**/
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
--
|
|
Karsten Hopp |
79721c |
A radioactive cat has eighteen half-lives.
|
|
Karsten Hopp |
79721c |
|
|
Karsten Hopp |
79721c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
79721c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
79721c |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
79721c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|