fix a few typos

This commit is contained in:
Andrzej Rybczak
2012-09-01 08:56:56 +02:00
parent 7d47f16316
commit 1bb3907b50
3 changed files with 2 additions and 8 deletions

View File

@@ -64,10 +64,6 @@ struct List
/// @see Menu::PrevFound() /// @see Menu::PrevFound()
/// ///
virtual void PrevFound(bool wrap) = 0; virtual void PrevFound(bool wrap) = 0;
/// @see Menu::isFiltered()
///
virtual bool isFiltered() = 0;
}; };
/// This template class is generic menu capable of /// This template class is generic menu capable of

View File

@@ -42,7 +42,7 @@ template <typename T> struct RegexFilter
return m_rx.match(menu.Stringify(item)); return m_rx.match(menu.Stringify(item));
} }
static std::string currentFilter(NCurses::Menu<T> &menu) static std::string currentFilter(MenuT &menu)
{ {
std::string filter; std::string filter;
auto rf = menu.getFilter().template target< RegexFilter<T> >(); auto rf = menu.getFilter().template target< RegexFilter<T> >();
@@ -56,6 +56,4 @@ private:
FilterFunction m_custom_filter; FilterFunction m_custom_filter;
}; };
#endif #endif

View File

@@ -159,7 +159,7 @@ class BasicScreen
/// Gets X offset and width of current screen to be used eg. in Resize() function. /// Gets X offset and width of current screen to be used eg. in Resize() function.
/// @param adjust_locked_screen indicates whether this function should /// @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. /// if current screen is going to be subwindow.
void GetWindowResizeParams(size_t &x_offset, size_t &width, bool adjust_locked_screen = true); void GetWindowResizeParams(size_t &x_offset, size_t &width, bool adjust_locked_screen = true);