add rtorrent ncurses patch

git-svn-id: svn://svn.openwrt.org/openwrt/packages@26653 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
luka 2011-04-13 22:14:18 +00:00
parent 6c1fba9db9
commit d606ed25fa

View File

@ -0,0 +1,13 @@
Index: rtorrent-0.8.6_r1209/src/display/canvas.h
===================================================================
--- rtorrent-0.8.6_r1209.orig/src/display/canvas.h 2011-04-13 17:29:03.218889497 +0200
+++ rtorrent-0.8.6_r1209/src/display/canvas.h 2011-04-13 17:29:22.814923068 +0200
@@ -48,7 +48,7 @@
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);
~Canvas() { delwin(m_window); }
void refresh() { wnoutrefresh(m_window); }