View | Details | Raw Unified | Return to bug 155318
Collapse All | Expand All

(-)src/display/canvas.h 2011-03-03 19:10:10.000000000 +0200 (-1 / +1 lines)
Lines 48-54 class Canvas { Link Here
48
public:
48
public:
49
  typedef std::vector<Attributes> attributes_list;
49
  typedef std::vector<Attributes> attributes_list;
50
50
51
  Canvas(int x = 0, int y = 0, int width = 0, int height = 0) :
51
  Canvas(int x = 0, int y = 0, int width = 1, int height = 1) :
52
    m_window(newwin(height, width, y, x)) {}
52
    m_window(newwin(height, width, y, x)) {}
53
  ~Canvas() { delwin(m_window); }
53
  ~Canvas() { delwin(m_window); }

Return to bug 155318