scrollpad: make m_beginning unsigned

This commit is contained in:
Andrzej Rybczak
2012-09-06 15:09:07 +02:00
parent fcf9ffe668
commit f0cac617fa
2 changed files with 15 additions and 28 deletions

View File

@@ -41,10 +41,6 @@ struct Scrollpad: public Window
Scrollpad(size_t startx, size_t starty, size_t width, size_t height,
const std::string &title, Color color, Border border);
/// Copies the scrollpad
/// @param s copied scrollpad
Scrollpad(const Scrollpad &s);
/// Prints the text stored in internal buffer to window. Note that
/// all changes that has been made for text stored in scrollpad won't
/// be visible until one invokes this function
@@ -120,7 +116,7 @@ struct Scrollpad: public Window
private:
basic_buffer<my_char_t> m_buffer;
int m_beginning;
size_t m_beginning;
bool m_found_for_each;
bool m_found_case_sensitive;