*
* Demo code for NCursesMenu and NCursesForm written by
* Juergen Pfeifer
- * Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en
*
- * $Id: demo.cc,v 1.22 2002/07/06 15:47:52 juergen Exp $
+ * $Id: demo.cc,v 1.24 2004/01/15 00:21:27 tom Exp $
*/
#include "cursesapp.h"
Integer_Field *ift;
Enumeration_Field *eft;
- static char *weekdays[];
+ static const char *weekdays[];
public:
TestForm() : NCursesForm(13,51,(lines()-15)/2,(cols()-53)/2) {
}
};
-char* TestForm::weekdays[] = {
+const char* TestForm::weekdays[] = {
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
- "Friday", "Saturday", (char *)0 };
+ "Friday", "Saturday", (const char *)0 };
//
// -------------------------------------------------------------------------
//