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=8b4ecb31c06866aae734a8a4fa2201e5d333181d;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..320b621b18 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; + size_t n_lines; + gulong total_lines; /* Number of lines in file. */ gboolean total_is_exact; /* Is total_lines exact (or an estimate)? */