summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 17:49:15 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 17:49:15 +0000
commit9d00e4a8146862c17ed429dc6b1b43349acb2b5f (patch)
tree79a1e0d0a738940dba6a9a86936376bd62e04ca3 /src/gui.c
parentd3a117814d6acbf0dca3eff1a7626843b9b3734a (diff)
patch 8.2.4010: error messages are spread outv8.2.4010
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui.c b/src/gui.c
index 2e2097d684..4aae106e50 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -241,7 +241,7 @@ gui_do_fork(void)
pid = fork();
if (pid < 0) // Fork error
{
- emsg(_("E851: Failed to create a new process for the GUI"));
+ emsg(_(e_failed_to_create_new_process_for_GUI));
return;
}
else if (pid > 0) // Parent
@@ -265,7 +265,7 @@ gui_do_fork(void)
# else
waitpid(pid, &exit_status, 0);
# endif
- emsg(_("E852: The child process failed to start the GUI"));
+ emsg(_(e_the_child_process_failed_to_start_GUI));
return;
}
else if (status == GUI_CHILD_IO_ERROR)