diff src/device-x.c @ 2552:166ed8151e62

[xemacs-hg @ 2005-02-03 16:30:33 by james] Don't define this to c_this, and rename variables currently named this. See xemacs-patches message with ID <psbrb1ehjl.fsf@diannao.ittc.ku.edu>.
author james
date Thu, 03 Feb 2005 16:30:38 +0000
parents 3d8143fc88e1
children f15523a6da7a
line wrap: on
line diff
--- a/src/device-x.c	Thu Feb 03 16:14:08 2005 +0000
+++ b/src/device-x.c	Thu Feb 03 16:30:38 2005 +0000
@@ -1238,16 +1238,17 @@
 		     char *fake_class, char *name, char *class_)
 {
   char *stack [100][2];
-  Widget this;
+  Widget this_widget;
   int count = 0;
   char *name_tail, *class_tail;
 
   if (widget)
     {
-      for (this = widget; this; this = XtParent (this))
+      for (this_widget = widget; this_widget;
+	   this_widget = XtParent (this_widget))
 	{
-	  stack [count][0] = this->core.name;
-	  stack [count][1] = XtClass (this)->core_class.class_name;
+	  stack [count][0] = this_widget->core.name;
+	  stack [count][1] = XtClass (this_widget)->core_class.class_name;
 	  count++;
 	}
       count--;