Mercurial > vim
comparison src/terminal.c @ 26534:28745eec1dda v8.2.3796
patch 8.2.3796: the funcexe_T struct members are not named consistently
Commit: https://github.com/vim/vim/commit/851f86b951cdd67ad9cf3149e46169d1375c8d82
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 14:26:44 2021 +0000
patch 8.2.3796: the funcexe_T struct members are not named consistently
Problem: The funcexe_T struct members are not named consistently.
Solution: Prefix "fe_" to all the members.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 15:30:03 +0100 |
parents | d413104a94c8 |
children | 30abd8e55ee5 |
comparison
equal
deleted
inserted
replaced
26533:88b2affbddd9 | 26534:28745eec1dda |
---|---|
4332 | 4332 |
4333 argvars[0].v_type = VAR_NUMBER; | 4333 argvars[0].v_type = VAR_NUMBER; |
4334 argvars[0].vval.v_number = term->tl_buffer->b_fnum; | 4334 argvars[0].vval.v_number = term->tl_buffer->b_fnum; |
4335 argvars[1] = item->li_next->li_tv; | 4335 argvars[1] = item->li_next->li_tv; |
4336 CLEAR_FIELD(funcexe); | 4336 CLEAR_FIELD(funcexe); |
4337 funcexe.firstline = 1L; | 4337 funcexe.fe_firstline = 1L; |
4338 funcexe.lastline = 1L; | 4338 funcexe.fe_lastline = 1L; |
4339 funcexe.evaluate = TRUE; | 4339 funcexe.fe_evaluate = TRUE; |
4340 if (call_func(func, -1, &rettv, 2, argvars, &funcexe) == OK) | 4340 if (call_func(func, -1, &rettv, 2, argvars, &funcexe) == OK) |
4341 { | 4341 { |
4342 clear_tv(&rettv); | 4342 clear_tv(&rettv); |
4343 ch_log(channel, "Function %s called", func); | 4343 ch_log(channel, "Function %s called", func); |
4344 } | 4344 } |