mirror of https://github.com/fltk/fltk
Fixed compile error with gcc 2.95 - the "d" string needed to be cast to
(void *) in both menus... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
81241af1cf
commit
eed1f2a359
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// "$Id: checkers.cxx,v 1.9.2.2 1999/06/07 07:03:34 bill Exp $"
|
||||
// "$Id: checkers.cxx,v 1.9.2.3 1999/08/09 14:38:40 mike Exp $"
|
||||
//
|
||||
// Checkers game for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
|
@ -1294,21 +1294,21 @@ Fl_Menu_Item menu[] = {
|
|||
{"Switch sides", 's', switch_cb},
|
||||
{"Undo", 'u', undo_cb, 0, FL_MENU_DIVIDER},
|
||||
{"Forced jumps rule", 'f', forced_cb, 0, FL_MENU_TOGGLE|FL_MENU_VALUE},
|
||||
{"Debug", 'd', debug_cb, "d", FL_MENU_TOGGLE},
|
||||
{"Debug", 'd', debug_cb, (void *)"d", FL_MENU_TOGGLE},
|
||||
{"Intelligence...", 'i', intel_cb, 0, FL_MENU_DIVIDER},
|
||||
{"Copyright", 'c', copyright_cb},
|
||||
{"Quit", 'q', quit_cb},
|
||||
{(const char *)0}};
|
||||
{0}};
|
||||
|
||||
Fl_Menu_Item busymenu[] = {
|
||||
{"Stop", '.', stop_cb},
|
||||
{"Autoplay", 'a', autoplay_cb},
|
||||
{"Continue", 0, continue_cb},
|
||||
{"Debug", 'd', debug_cb, "d", FL_MENU_TOGGLE},
|
||||
{"Debug", 'd', debug_cb, (void *)"d", FL_MENU_TOGGLE},
|
||||
{"Intelligence...", 'i', intel_cb},
|
||||
{"Copyright", 'c', copyright_cb},
|
||||
{"Quit", 'q', quit_cb},
|
||||
{(const char *)0}};
|
||||
{0}};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1365,5 +1365,5 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
//
|
||||
// End of "$Id: checkers.cxx,v 1.9.2.2 1999/06/07 07:03:34 bill Exp $".
|
||||
// End of "$Id: checkers.cxx,v 1.9.2.3 1999/08/09 14:38:40 mike Exp $".
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue