treewide: Replace <name>_cnt by n_<name>s and <name>_cap by allocated_<name>.
[pspp] / src / ui / gui / psppire-text-file.h
index 1d031c09265aa2207f2421f0e6ec03e69091f876..320b621b1807e55c5c1ef38d54f9548e2ed7e63f 100644 (file)
@@ -57,9 +57,13 @@ struct _PsppireTextFile
   gchar *file_name;
   gchar *encoding;
 
-  /* The first several lines of the file. */
+  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)? */