Commit d872b748 authored by Jim Blandy's avatar Jim Blandy

* 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.
parent fbc270e7
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment