blob: b9a09d47bfc390c3b9aa919a6f516bb3af4d829e (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- rtorrent-0.8.7/src/display/canvas.h 2011-03-01 14:56:25.000000000 +0800
+++ rtorrent-0.8.7/src/display/canvas.h 2011-03-01 14:56:10.000000000 +0800
@@ -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); }
|