summaryrefslogtreecommitdiff
path: root/community/rtorrent/ncurses58.patch
blob: 0f742daad2ea2b2da685a29650b237edf93af806 (plain)
1
2
3
4
5
6
7
8
9
10
--- src/display/canvas.h	2011-03-01 14:56:25.000000000 +0800
+++ src/display/canvasfix.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); }