diff --git a/src/eval.c b/src/eval.c index 1e2e4c4768..821d0c1dc8 100644 --- a/src/eval.c +++ b/src/eval.c @@ -5007,7 +5007,7 @@ echo_string_core( if (fname != NULL) { // When using uf_name prepend "g:" for a global function. - if (pt->pt_name == NULL && fname[0] == '\'' + if (pt != NULL && pt->pt_name == NULL && fname[0] == '\'' && vim_isupper(fname[1])) { ga_concat(&ga, (char_u *)"'g:"); diff --git a/src/version.c b/src/version.c index 0199acade2..c3e34e4a95 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3767, /**/ 3766, /**/