HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbc270e
)
* xterm.c (x_catch_errors): Don't forget to initialize
author
Jim Blandy
<jimb@redhat.com>
Fri, 4 Sep 1992 11:17:33 +0000
(11:17 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Fri, 4 Sep 1992 11:17:33 +0000
(11:17 +0000)
x_caught_error_message to the null string, so x_check_errors can
tell when an error has occurred.
src/xterm.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index
abedef3
..
25c6351
100644
(file)
--- 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);