Mercurial > emacs
changeset 1077:d6ee6ff7562d
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Fri, 04 Sep 1992 11:17:33 +0000 |
parents | 8a936037cedc |
children | 15b4ed20e524 |
files | src/xterm.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Fri Sep 04 07:35:10 1992 +0000 +++ b/src/xterm.c Fri Sep 04 11:17:33 1992 +0000 @@ -2881,6 +2881,7 @@ /* 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);