X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-text-file.h;h=486cefb4cca9a4268418e20d5cd92b652212f356;hb=052cf5f9ffd4fbbda175fcb0417352b332fabc37;hp=1d031c09265aa2207f2421f0e6ec03e69091f876;hpb=6e097c89af440da90b43ce90864394c4d0c843d5;p=pspp diff --git a/src/ui/gui/psppire-text-file.h b/src/ui/gui/psppire-text-file.h index 1d031c0926..486cefb4cc 100644 --- a/src/ui/gui/psppire-text-file.h +++ b/src/ui/gui/psppire-text-file.h @@ -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; + gulong total_lines; /* Number of lines in file. */ gboolean total_is_exact; /* Is total_lines exact (or an estimate)? */