diff options
Diffstat (limited to 'src/popupwin.c')
-rw-r--r-- | src/popupwin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/popupwin.c b/src/popupwin.c index f828d91878..73b98beed1 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 |