changeset 46435:278371336b60

* xterm.c (x_catch_errors, x_clear_errors): Use SSET.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Jul 2002 15:50:09 +0000
parents 0baf57bc9d62
children ca3ac4d14e9e
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.