Advertisement
Guest User

fix_ncurses_5.8.patch

a guest
Mar 1st, 2011
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.45 KB | None | 0 0
  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); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement