Mercurial > vim
comparison src/clientserver.c @ 26883:7f150a4936f2 v8.2.3970
patch 8.2.3970: error messages are spread out
Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 15:58:22 2022 +0000
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 17:00:04 +0100 |
parents | e8e2c4d33b9b |
children | 79c76ca2c53c |
comparison
equal
deleted
inserted
replaced
26882:196f4d7e2a38 | 26883:7f150a4936f2 |
---|---|
117 ret = eval_client_expr_to_string(cmd); | 117 ret = eval_client_expr_to_string(cmd); |
118 if (result != NULL) | 118 if (result != NULL) |
119 { | 119 { |
120 if (ret == NULL) | 120 if (ret == NULL) |
121 { | 121 { |
122 char *err = _(e_invexprmsg); | 122 char *err = _(e_invalid_expression_received); |
123 size_t len = STRLEN(cmd) + STRLEN(err) + 5; | 123 size_t len = STRLEN(cmd) + STRLEN(err) + 5; |
124 char_u *msg; | 124 char_u *msg; |
125 | 125 |
126 msg = alloc(len); | 126 msg = alloc(len); |
127 if (msg != NULL) | 127 if (msg != NULL) |