SHARE
TWEET

fix_ncurses_5.8.patch

a guest Mar 1st, 2011 330 Never
  1. diff --git a/src/display/canvas.h b/src/display/canvas.h
  2. index 3f3ec28..6f1e828 100644
  3. --- a/src/display/canvas.h
  4. +++ b/src/display/canvas.h
  5. @@ -48,7 +48,7 @@ class Canvas {
  6.  public:
  7.    typedef std::vector<Attributes> attributes_list;
  8.  
  9. -  Canvas(int x = 0, int y = 0, int width = 0, int height = 0) :
  10. +  Canvas(int x = 0, int y = 0, int width = 1, int height = 1) :
  11.      m_window(newwin(height, width, y, x)) {}
  12.    ~Canvas() { delwin(m_window); }
RAW Paste Data
Top