1
Fork 0
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:
Jim Blandy 1992-09-04 11:17:33 +00:00
parent fbc270e73a
commit d872b7483c

View file

@ -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);