comparison src/strings.c @ 26879:da89514c3b72 v8.2.3968

patch 8.2.3968: build failure Commit: https://github.com/vim/vim/commit/e70cec976026ce72d09b6589ebba4677581063ac Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:25:55 2022 +0000 patch 8.2.3968: build failure Problem: Build failure. Solution: Add missing changes.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:06 +0100
parents bce848ec8b1b
children d92e0d85923f
comparison
equal deleted inserted replaced
26878:3eb8a87bc1fc 26879:da89514c3b72
914 { 914 {
915 if (newtv.v_type != VAR_STRING) 915 if (newtv.v_type != VAR_STRING)
916 { 916 {
917 clear_tv(&newtv); 917 clear_tv(&newtv);
918 clear_tv(&tv); 918 clear_tv(&tv);
919 emsg(_(e_stringreq)); 919 emsg(_(e_string_required));
920 break; 920 break;
921 } 921 }
922 else 922 else
923 ga_concat(&ga, newtv.vval.v_string); 923 ga_concat(&ga, newtv.vval.v_string);
924 } 924 }
954 954
955 if (argvars[2].v_type == VAR_UNKNOWN) 955 if (argvars[2].v_type == VAR_UNKNOWN)
956 { 956 {
957 if (*p == NUL) 957 if (*p == NUL)
958 { 958 {
959 semsg(_(e_reduceempty), "String"); 959 semsg(_(e_reduce_of_an_empty_str_with_no_initial_value), "String");
960 return; 960 return;
961 } 961 }
962 if (copy_first_char_to_tv(p, rettv) == FAIL) 962 if (copy_first_char_to_tv(p, rettv) == FAIL)
963 return; 963 return;
964 p += STRLEN(rettv->vval.v_string); 964 p += STRLEN(rettv->vval.v_string);