mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-13 08:43:42 +02:00
ebf0f1fa98
Thanks to Andrew Strong for a link to the patch in upstream's bug tracker. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
10 lines
469 B
Diff
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); }
|