This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

fix_ncurses_5.8.patch

By: a guest on Mar 1st, 2011  |  syntax: Diff  |  size: 0.45 KB  |  views: 329  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/src/display/canvas.h b/src/display/canvas.h
  2. index 3f3ec28..6f1e828 100644
  3. --- a/src/display/canvas.h
  4. +++ b/src/display/canvas.h
  5. @@ -48,7 +48,7 @@ class Canvas {
  6.  public:
  7.    typedef std::vector<Attributes> attributes_list;
  8.  
  9. -  Canvas(int x = 0, int y = 0, int width = 0, int height = 0) :
  10. +  Canvas(int x = 0, int y = 0, int width = 1, int height = 1) :
  11.      m_window(newwin(height, width, y, x)) {}
  12.    ~Canvas() { delwin(m_window); }
clone this paste RAW Paste Data