# HG changeset patch # User Ken Raeburn # Date 1026834609 0 # Node ID 278371336b60fa18226d89a5ced8e197473e54f9 # Parent 0baf57bc9d6204583e65a654a8231adb6b4909e8 * xterm.c (x_catch_errors, x_clear_errors): Use SSET. diff -r 0baf57bc9d62 -r 278371336b60 src/xterm.c --- a/src/xterm.c Tue Jul 16 15:50:04 2002 +0000 +++ b/src/xterm.c Tue Jul 16 15:50:09 2002 +0000 @@ -12131,7 +12131,7 @@ record_unwind_protect (x_catch_errors_unwind, x_error_message_string); x_error_message_string = make_uninit_string (X_ERROR_MESSAGE_SIZE); - SREF (x_error_message_string, 0) = 0; + SSET (x_error_message_string, 0, 0); return count; } @@ -12181,7 +12181,7 @@ x_clear_errors (dpy) Display *dpy; { - SREF (x_error_message_string, 0) = 0; + SSET (x_error_message_string, 0, 0); } /* Stop catching X protocol errors and let them make Emacs die.