Mercurial > vim
comparison src/clientserver.c @ 26897:d02d40f0261c v8.2.3977
patch 8.2.3977: error messages are spread out
Commit: https://github.com/vim/vim/commit/9a846fbaa569b3690d70606f2a86e97f77a05496
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 21:59:18 2022 +0000
patch 8.2.3977: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 23:00:04 +0100 |
parents | 79c76ca2c53c |
children | ac75c145f0a9 |
comparison
equal
deleted
inserted
replaced
26896:e58f8c38545d | 26897:d02d40f0261c |
---|---|
927 # else | 927 # else |
928 if (check_connection() == FAIL | 928 if (check_connection() == FAIL |
929 || serverReadReply(X_DISPLAY, serverStrToWin(serverid), | 929 || serverReadReply(X_DISPLAY, serverStrToWin(serverid), |
930 &r, FALSE, timeout) < 0) | 930 &r, FALSE, timeout) < 0) |
931 # endif | 931 # endif |
932 emsg(_("E277: Unable to read a server reply")); | 932 emsg(_(e_unable_to_read_server_reply)); |
933 } | 933 } |
934 #endif | 934 #endif |
935 rettv->v_type = VAR_STRING; | 935 rettv->v_type = VAR_STRING; |
936 rettv->vval.v_string = r; | 936 rettv->vval.v_string = r; |
937 } | 937 } |