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=40c169c1409b0f16e6ee8f0ceaa0ce6937c90a5c;hp=1d031c09265aa2207f2421f0e6ec03e69091f876;hpb=50feac63e2fb9776f53e432f137311b4f5563ccf;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)? */