Forgot the leading * on the pointer name for menu items.
git-svn-id: file:///fltk/svn/fltk/trunk@234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
6d87533f19
commit
d592f1c4aa
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Menu_Type.cxx,v 1.10 1999/01/19 19:10:38 mike Exp $"
|
||||
// "$Id: Fl_Menu_Type.cxx,v 1.11 1999/01/19 19:24:32 mike Exp $"
|
||||
//
|
||||
// Menu item code for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -224,7 +224,7 @@ void Fl_Menu_Item_Type::write_static() {
|
||||
for (Fl_Type* q = t->next; q && q->is_menu_item(); q = q->next, i ++) {
|
||||
c = array_name((Fl_Menu_Item_Type *)q);
|
||||
if (c)
|
||||
write_c("Fl_Menu_Item %s::%s = %s::%s + %d;\n", k, c, k, menu_name(level), i);
|
||||
write_c("Fl_Menu_Item *%s::%s = %s::%s + %d;\n", k, c, k, menu_name(level), i);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -529,5 +529,5 @@ void shortcut_in_cb(Shortcut_Button* i, void* v) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Menu_Type.cxx,v 1.10 1999/01/19 19:10:38 mike Exp $".
|
||||
// End of "$Id: Fl_Menu_Type.cxx,v 1.11 1999/01/19 19:24:32 mike Exp $".
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user