diff options
author | Geoff Nixon <geoff.nixon@aol.com> | 2014-02-27 02:55:04 -0800 |
---|---|---|
committer | Geoff Nixon <geoff.nixon@aol.com> | 2014-02-27 06:23:40 -0800 |
commit | 18dd6f58e3b9bc44d9850947bdb3f17c2f05f2cf (patch) | |
tree | a9cecef0c6d630ab11ccfa02c466a236d6d2126b /pager.cpp | |
parent | ddcd2b0810087394d17bd80c46d74cca0acd8924 (diff) |
Fixes .c -> .cpp in comments. For doxygen.
Diffstat (limited to 'pager.cpp')
-rw-r--r-- | pager.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,3 +1,7 @@ +/** \file pager.cpp +*/ + + #include "config.h" #include "pager.h" @@ -145,8 +149,6 @@ line_t pager_t::completion_print_item(const wcstring &prefix, const comp_t *c, s { written += print_max(L" ", packed_color, 1, false, &line_data); } - written += print_max(L"(", packed_color, 1, false, &line_data); - written += print_max(c->desc, packed_color, desc_width, false, &line_data); } else { @@ -630,10 +632,6 @@ bool pager_t::completion_try_print(size_t cols, const wcstring &prefix, const co { search_field_text.append(PAGER_SEARCH_FIELD_WIDTH - search_field_text.size(), L' '); } - line_t *search_field = &rendering->screen_data.insert_line_at_index(0); - - /* We limit the width to term_width - 1 */ - int search_field_written = print_max(SEARCH_FIELD_PROMPT, highlight_spec_normal, term_width - 1, false, search_field); } } |