X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fsys-file-info.c;h=d3414cb23b82a091922fa495854364e1aaf1027f;hb=3f0598ef1561833a21b0aea2ef51a7d6c2a9d681;hp=98cc90ddfb9e600114de1b8712ff97b65c08c729;hpb=a19b858e0ac3c69e4a28c0ca6d8674427268a863;p=pspp-builds.git diff --git a/src/language/dictionary/sys-file-info.c b/src/language/dictionary/sys-file-info.c index 98cc90dd..d3414cb2 100644 --- a/src/language/dictionary/sys-file-info.c +++ b/src/language/dictionary/sys-file-info.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -96,9 +97,9 @@ cmd_sysfile_info (void) sfm_close_reader (reader); t = tab_create (2, 9, 0); - tab_vline (t, TAL_1 | TAL_SPACING, 1, 0, 8); + tab_vline (t, TAL_GAP, 1, 0, 8); tab_text (t, 0, 0, TAB_LEFT, _("File:")); - tab_text (t, 1, 0, TAB_LEFT, fh_get_filename (h)); + tab_text (t, 1, 0, TAB_LEFT, fh_get_file_name (h)); tab_text (t, 0, 1, TAB_LEFT, _("Label:")); { const char *label = dict_get_label (d); @@ -200,7 +201,7 @@ cmd_display (void) else { tab_output_text (TAB_LEFT | TAT_TITLE, _("File label:")); - tab_output_text (TAB_LEFT | TAT_FIX, dict_get_label (default_dict)); + tab_output_text (TAB_LEFT | TAB_FIX, dict_get_label (default_dict)); } } else @@ -311,7 +312,7 @@ display_documents (void) && len > 0) len--; buf[len + 1] = 0; - tab_output_text (TAB_LEFT | TAT_FIX | TAT_NOWRAP, buf); + tab_output_text (TAB_LEFT | TAB_FIX | TAT_NOWRAP, buf); } } }