packages/net/rtorrent/patches/120-fix-ncurses.patch
luka 7f01d130ba [package] rtorrent: update to 0.9.3-git
Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@37592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28 23:28:20 +00:00

12 lines
422 B
Diff

--- 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);
~Canvas() { delwin(m_window); }
void refresh() { wnoutrefresh(m_window); }