Made the datasheet number cases from 1 instead of zero.
[pspp-builds.git] / src / ui / gui / syntax-editor-source.c
index c6d8668c1facbe1596a89ed60bba5c9387288e3c..887f14f3eb927867f7fe22e026fa2025f518f982 100644 (file)
@@ -18,6 +18,8 @@
   02110-1301, USA. */
 
 
+#include <config.h>
+
 #include <libpspp/getl.h>
 #include <libpspp/alloc.h>
 #include <libpspp/compiler.h>
@@ -98,7 +100,7 @@ read_line_from_buffer (struct getl_interface *i,
 
 
 static void
-close (struct getl_interface *i )
+do_close (struct getl_interface *i )
 {
   free (i);
 }
@@ -118,7 +120,7 @@ create_syntax_editor_source (const struct syntax_editor *se,
 
   ses->parent.interactive = always_false;
   ses->parent.read = read_line_from_buffer;
-  ses->parent.close = close;
+  ses->parent.close = do_close;
 
   ses->parent.name = name;
   ses->parent.location = location;