src/popupwin.c
static void
add_popup_strings(buf_T *buf, list_T *l)
{
    listitem_T  *li;
    linenr_T    lnum = 0;
    char_u	*p;

    for (li = l->lv_first; li != NULL; li = li->li_next)
	if (li->li_tv.v_type == VAR_STRING)
	{
	    p = li->li_tv.vval.v_string;
	    ml_append_buf(buf, lnum++,
			       p == NULL ? (char_u *)"" : p, (colnr_T)0, TRUE);
	}
}
/*
 * Add lines to the popup from a list of strings.
 */
Add lines to the popup from a list of strings.
Add lines to the popup from a list of strings .
static void
add_popup_strings(buf_T *buf, list_T *l)
{
    listitem_T  *li;
    linenr_T    lnum = 0;
    char_u	*p;
    for (li = l->lv_first; li != NULL; li = li->li_next)
	if (li->li_tv.v_type == VAR_STRING)
	{
	    p = li->li_tv.vval.v_string;
	    ml_append_buf(buf, lnum++,
			       p == NULL ? (char_u *)"" : p, (colnr_T)0, TRUE);
	}
}
static void add_popup_strings ( buf_T * buf , list_T * l ) { listitem_T * li ; linenr_T lnum = 0 ; char_u * p ; for ( li = l -> lv_first ; li != NULL ; li = li -> li_next ) if ( li -> li_tv . v_type == VAR_STRING ) { p = li -> li_tv . vval . v_string ; ml_append_buf ( buf , lnum ++ , p == NULL ? ( char_u * ) " " : p , ( colnr_T ) 0 , TRUE ) ; } }
Add lines to the popup from a list of strings.
Add lines to the popup from a list of strings .