Problem: Various small problems.
Solution: Various small improvements.
return NULL;
}
- beval = (BalloonEval *)alloc_clear(sizeof(BalloonEval));
+ beval = ALLOC_CLEAR_ONE(BalloonEval);
if (beval != NULL)
{
#ifdef FEAT_GUI_GTK
/*
- * Set a list as the return value
+ * Set a list as the return value. Increments the reference count.
*/
void
rettv_list_set(typval_T *rettv, list_T *l)
}
/* Not already there, so lets add it */
- menu = (vimmenu_T *)alloc_clear(sizeof(vimmenu_T));
+ menu = ALLOC_CLEAR_ONE(vimmenu_T);
if (menu == NULL)
goto erret;
redir_write(s, -1);
}
#ifdef FEAT_JOB_CHANNEL
- ch_log(NULL, "ERROR: %s", (char *)s);
+ ch_log(NULL, "ERROR silent: %s", (char *)s);
#endif
return TRUE;
}
buf = firstbuf;
}
-# ifdef FEAT_ARABIC
free_cmdline_buf();
-# endif
/* Clear registers. */
clear_registers();
#define HAVE_DATE_TIME
/* Defined to the size of an int */
-#define VIM_SIZEOF_INT 4
+#define VIM_SIZEOF_INT 4
/* #undef USEBCOPY */
#define USEMEMMOVE
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
#
-# Last change: 2016 Nov 04
+# Last change: 2019 May 31
#
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
# Edit the lines in the Configuration section below to select.
quit
call assert_equal(1, winnr('$'))
- let width = winwidth(0)
call term_dumpdiff('dumps/Test_popup_command_01.dump', 'dumps/Test_popup_command_02.dump', {'vertical': 0, 'term_rows': 13, 'term_name': 'something else'})
call assert_equal(2, winnr('$'))
- call assert_equal(width, winwidth(winnr()))
- call assert_equal(13, winheight(winnr()))
+ call assert_equal(&columns, winwidth(0))
+ call assert_equal(13, winheight(0))
call assert_equal('something else', bufname('%'))
quit
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1630,
/**/
1629,
/**/