at v192 1.8 kB view raw
1diff -ruNp ncurses-5.8.orig/c++/cursesf.h ncurses-5.8/c++/cursesf.h 2--- ncurses-5.8.orig/c++/cursesf.h 2005-08-13 21:08:24.000000000 +0300 3+++ ncurses-5.8/c++/cursesf.h 2011-04-03 18:29:29.000000000 +0300 4@@ -681,7 +681,7 @@ public: 5 const T* p_UserData = STATIC_CAST(T*)(0), 6 bool with_frame=FALSE, 7 bool autoDelete_Fields=FALSE) 8- : NCursesForm (Fields, with_frame, autoDelete_Fields) { 9+ : NCursesForm (&Fields, with_frame, autoDelete_Fields) { 10 if (form) 11 set_user (const_cast<void *>(p_UserData)); 12 }; 13@@ -694,7 +694,7 @@ public: 14 const T* p_UserData = STATIC_CAST(T*)(0), 15 bool with_frame=FALSE, 16 bool autoDelete_Fields=FALSE) 17- : NCursesForm (Fields, nlines, ncols, begin_y, begin_x, 18+ : NCursesForm (&Fields, nlines, ncols, begin_y, begin_x, 19 with_frame, autoDelete_Fields) { 20 if (form) 21 set_user (const_cast<void *>(p_UserData)); 22diff -ruNp ncurses-5.8.orig/c++/cursesm.h ncurses-5.8/c++/cursesm.h 23--- ncurses-5.8.orig/c++/cursesm.h 2005-08-13 21:10:36.000000000 +0300 24+++ ncurses-5.8/c++/cursesm.h 2011-04-03 18:31:42.000000000 +0300 25@@ -639,7 +639,7 @@ public: 26 const T* p_UserData = STATIC_CAST(T*)(0), 27 bool with_frame=FALSE, 28 bool autoDelete_Items=FALSE) 29- : NCursesMenu (Items, with_frame, autoDelete_Items) { 30+ : NCursesMenu (&Items, with_frame, autoDelete_Items) { 31 if (menu) 32 set_user (const_cast<void *>(p_UserData)); 33 }; 34@@ -651,7 +651,7 @@ public: 35 int begin_x = 0, 36 const T* p_UserData = STATIC_CAST(T*)(0), 37 bool with_frame=FALSE) 38- : NCursesMenu (Items, nlines, ncols, begin_y, begin_x, with_frame) { 39+ : NCursesMenu (&Items, nlines, ncols, begin_y, begin_x, with_frame) { 40 if (menu) 41 set_user (const_cast<void *>(p_UserData)); 42 };