pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/tab.c


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/src/tab.c
Date: Thu, 13 Jan 2005 23:05:53 -0500

Index: pspp/src/tab.c
diff -u pspp/src/tab.c:1.18 pspp/src/tab.c:1.19
--- pspp/src/tab.c:1.18 Fri Oct 22 07:59:34 2004
+++ pspp/src/tab.c      Fri Jan 14 04:05:47 2005
@@ -868,11 +868,12 @@
 void
 tab_submit (struct tab_table *t)
 {
-  struct som_table s;
+  struct som_entity s;
 
   assert (t != NULL);
   s.class = &tab_table_class;
   s.ext = t;
+  s.type = SOM_TABLE;
   som_submit (&s);
   tab_destroy (t);
 }
@@ -927,9 +928,11 @@
 
 /* Set the current table to TABLE. */
 static void
-tabi_table (struct som_table *table)
+tabi_table (struct som_entity *table)
 {
   assert (table != NULL);
+  assert (table->type == SOM_TABLE);
+
   t = table->ext;
   tab_offset (t, 0, 0);
   




reply via email to

[Prev in Thread] Current Thread [Next in Thread]