summaryrefslogtreecommitdiff
path: root/src/popupwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popupwin.c')
-rw-r--r--src/popupwin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/popupwin.c b/src/popupwin.c
index f828d9187..73b98beed 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -149,10 +149,10 @@ apply_options(win_T *wp, buf_T *buf UNUSED, dict_T *dict, int atcursor)
if (get_lambda_tv(&ptr, &tv, TRUE) == OK)
{
wp->w_popup_timer = create_timer(nr, 0);
- wp->w_popup_timer->tr_callback =
+ wp->w_popup_timer->tr_callback.cb_name =
vim_strsave(partial_name(tv.vval.v_partial));
- func_ref(wp->w_popup_timer->tr_callback);
- wp->w_popup_timer->tr_partial = tv.vval.v_partial;
+ func_ref(wp->w_popup_timer->tr_callback.cb_name);
+ wp->w_popup_timer->tr_callback.cb_partial = tv.vval.v_partial;
}
}
#endif