packages/net/rtorrent/patches/120-fix-ncurses.patch
luka e226e19a3e downgrade libtorrent and rtorrent; rtorrent crashes only solution was to use stable and not svn version (8733)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 20:49:19 +00:00

14 lines
505 B
Diff

Index: rtorrent-0.8.6/src/display/canvas.h
===================================================================
--- rtorrent-0.8.6.orig/src/display/canvas.h
+++ rtorrent-0.8.6/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); }