mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
updated for version 7.1-196
This commit is contained in:
@@ -987,6 +987,11 @@ _WndProc(
|
|||||||
{
|
{
|
||||||
LPNMTTDISPINFOW lpdi = (LPNMTTDISPINFOW)lParam;
|
LPNMTTDISPINFOW lpdi = (LPNMTTDISPINFOW)lParam;
|
||||||
|
|
||||||
|
/* Set the maximum width, this also enables using
|
||||||
|
* \n for line break. */
|
||||||
|
SendMessage(lpdi->hdr.hwndFrom, TTM_SETMAXTIPWIDTH,
|
||||||
|
0, 500);
|
||||||
|
|
||||||
tt_text = enc_to_ucs2(str, NULL);
|
tt_text = enc_to_ucs2(str, NULL);
|
||||||
lpdi->lpszText = tt_text;
|
lpdi->lpszText = tt_text;
|
||||||
/* can't show tooltip if failed */
|
/* can't show tooltip if failed */
|
||||||
@@ -996,6 +1001,11 @@ _WndProc(
|
|||||||
{
|
{
|
||||||
LPNMTTDISPINFO lpdi = (LPNMTTDISPINFO)lParam;
|
LPNMTTDISPINFO lpdi = (LPNMTTDISPINFO)lParam;
|
||||||
|
|
||||||
|
/* Set the maximum width, this also enables using
|
||||||
|
* \n for line break. */
|
||||||
|
SendMessage(lpdi->hdr.hwndFrom, TTM_SETMAXTIPWIDTH,
|
||||||
|
0, 500);
|
||||||
|
|
||||||
if (STRLEN(str) < sizeof(lpdi->szText)
|
if (STRLEN(str) < sizeof(lpdi->szText)
|
||||||
|| ((tt_text = vim_strsave(str)) == NULL))
|
|| ((tt_text = vim_strsave(str)) == NULL))
|
||||||
vim_strncpy(lpdi->szText, str,
|
vim_strncpy(lpdi->szText, str,
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
196,
|
||||||
/**/
|
/**/
|
||||||
195,
|
195,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user