treewide: Replace <name>_cnt by n_<name>s and <name>_cap by allocated_<name>.
[pspp] / src / ui / gui / psppire-text-file.h
index 500acc82bd0086d7d61b95f821d005df0d6b55f4..320b621b1807e55c5c1ef38d54f9548e2ed7e63f 100644 (file)
@@ -57,10 +57,12 @@ struct _PsppireTextFile
   gchar *file_name;
   gchar *encoding;
 
+  gint maximum_lines;
+
   /* The first several lines of the file.   These copies which are UTF8 encoded,
      regardless of the file encoding.  */
   struct substring lines[MAX_PREVIEW_LINES];
-  size_t line_cnt;
+  size_t n_lines;
 
   gulong total_lines; /* Number of lines in file. */
   gboolean total_is_exact;    /* Is total_lines exact (or an estimate)? */