X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-text-file.h;h=320b621b1807e55c5c1ef38d54f9548e2ed7e63f;hb=37c21ba9301956091823dea7d84ff0400330bd4b;hp=500acc82bd0086d7d61b95f821d005df0d6b55f4;hpb=e1c4d5d0f0c63ef20927ac2cd7f9ff4e7e4cf5c5;p=pspp diff --git a/src/ui/gui/psppire-text-file.h b/src/ui/gui/psppire-text-file.h index 500acc82bd..320b621b18 100644 --- a/src/ui/gui/psppire-text-file.h +++ b/src/ui/gui/psppire-text-file.h @@ -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)? */