slackbuilds_ponce/network/rtorrent/rtorrent-0.8.7-canvas-patch-fix-for-ncurses-5-8.patch
Robby Workman ebf0f1fa98 network/rtorrent: Patched for ncurses-5.8.
Thanks to Andrew Strong for a link to the patch in
upstream's bug tracker.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-03-27 20:12:41 -05:00

10 lines
469 B
Diff

--- 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); }