mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
* xterm.c (x_catch_errors): Don't forget to initialize
x_caught_error_message to the null string, so x_check_errors can tell when an error has occurred.
This commit is contained in:
parent
fbc270e73a
commit
d872b7483c
1 changed files with 1 additions and 0 deletions
|
|
@ -2881,6 +2881,7 @@ x_catch_errors ()
|
|||
/* Set up the error buffer. */
|
||||
x_caught_error_message =
|
||||
(char (*)[]) xmalloc (sizeof (*x_caught_error_message));
|
||||
(*x_caught_error_message)[0] = '\0';
|
||||
|
||||
/* Install our little error handler. */
|
||||
XHandleError (x_error_catcher);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue