Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/display/canvas.h b/src/display/canvas.h
- index 3f3ec28..6f1e828 100644
- --- a/src/display/canvas.h
- +++ b/src/display/canvas.h
- @@ -48,7 +48,7 @@ class Canvas {
- public:
- typedef std::vector<Attributes> attributes_list;
- - Canvas(int x = 0, int y = 0, int width = 0, int height = 0) :
- + Canvas(int x = 0, int y = 0, int width = 1, int height = 1) :
- m_window(newwin(height, width, y, x)) {}
- ~Canvas() { delwin(m_window); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement