From 1bb3907b50441e7b31a4ff40c81a3692dd3e9788 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 1 Sep 2012 08:56:56 +0200 Subject: [PATCH] fix a few typos --- src/menu.h | 4 ---- src/regex_filter.h | 4 +--- src/screen.h | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/menu.h b/src/menu.h index e174d695..20d6c6e6 100644 --- a/src/menu.h +++ b/src/menu.h @@ -64,10 +64,6 @@ struct List /// @see Menu::PrevFound() /// virtual void PrevFound(bool wrap) = 0; - - /// @see Menu::isFiltered() - /// - virtual bool isFiltered() = 0; }; /// This template class is generic menu capable of diff --git a/src/regex_filter.h b/src/regex_filter.h index 76296d2a..a05b3954 100644 --- a/src/regex_filter.h +++ b/src/regex_filter.h @@ -42,7 +42,7 @@ template struct RegexFilter return m_rx.match(menu.Stringify(item)); } - static std::string currentFilter(NCurses::Menu &menu) + static std::string currentFilter(MenuT &menu) { std::string filter; auto rf = menu.getFilter().template target< RegexFilter >(); @@ -56,6 +56,4 @@ private: FilterFunction m_custom_filter; }; - - #endif diff --git a/src/screen.h b/src/screen.h index ce031044..74bbd4f2 100644 --- a/src/screen.h +++ b/src/screen.h @@ -159,7 +159,7 @@ class BasicScreen /// Gets X offset and width of current screen to be used eg. in Resize() function. /// @param adjust_locked_screen indicates whether this function should - /// automatically adjust locked screen's dimensions (is there is one set) + /// automatically adjust locked screen's dimensions (if there is one set) /// if current screen is going to be subwindow. void GetWindowResizeParams(size_t &x_offset, size_t &width, bool adjust_locked_screen = true);