# HG changeset patch
# User Jim Blandy <jimb@redhat.com>
# Date 737263023 0
# Node ID dd28ed1e19285a0002d3c5a691e91ee4a13323f2
# Parent  26bad513fbb0f3a4146cfe9df8f720ddc94a3b38
	* textprop.c (Fnext_single_property_change,
	Fprevious_single_property_change): Pass arguments to textget in
	the right order.

diff -r 26bad513fbb0 -r dd28ed1e1928 src/textprop.c
--- a/src/textprop.c	Thu May 13 03:14:39 1993 +0000
+++ b/src/textprop.c	Thu May 13 03:17:03 1993 +0000
@@ -524,9 +524,10 @@
   if (NULL_INTERVAL_P (i))
     return Qnil;
 
-  here_val = textget (prop, i->plist);
+  here_val = textget (i->plist, prop);
   next = next_interval (i);
-  while (! NULL_INTERVAL_P (next) && EQ (here_val, textget (prop, next->plist)))
+  while (! NULL_INTERVAL_P (next) 
+	 && EQ (here_val, textget (next->plist, prop)))
     next = next_interval (next);
 
   if (NULL_INTERVAL_P (next))
@@ -586,10 +587,10 @@
   if (NULL_INTERVAL_P (i))
     return Qnil;
 
-  here_val = textget (prop, i->plist);
+  here_val = textget (i->plist, prop);
   previous = previous_interval (i);
   while (! NULL_INTERVAL_P (previous)
-	 && EQ (here_val, textget (prop, previous->plist)))
+	 && EQ (here_val, textget (previous->plist, prop)))
     previous = previous_interval (previous);
   if (NULL_INTERVAL_P (previous))
     return Qnil;