Overlay/net-p2p/rtorrent/files/rtorrent-0.9.1-ncurses.patch

11 lines
416 B
Diff
Raw Normal View History

2014-06-30 15:44:40 +04:00
--- src/display/canvas.h
+++ src/display/canvas.h
@@ -48,5 +48,5 @@ 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); }