diff options
| author | Jim Blandy <jimb@redhat.com> | 1992-09-04 11:17:33 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1992-09-04 11:17:33 +0000 |
| commit | d872b7483c74b8e03501db57e13c96e8df444d0d (patch) | |
| tree | e64a0db6fac891b72bd4541bfaef281ec4cbb924 | |
| parent | fbc270e73a293e3df99b33702dc3e6f6fe0e6c7e (diff) | |
| download | emacs-d872b7483c74b8e03501db57e13c96e8df444d0d.tar.gz | |
* 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.
| -rw-r--r-- | src/xterm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index abedef39efc..25c63512e13 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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); |
