added more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23167 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
65751aad16
commit
fc205e9717
@ -21,6 +21,12 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#define TRACE_MENU
|
||||
#ifdef TRACE_MENU
|
||||
# define TRACE(x) dprintf x
|
||||
#else
|
||||
# define TRACE(x) ;
|
||||
#endif
|
||||
|
||||
MenuItem::MenuItem(const char *label, Menu *subMenu)
|
||||
:
|
||||
@ -496,6 +502,8 @@ user_menu(Directory **_bootVolume)
|
||||
Menu *safeModeMenu = NULL;
|
||||
MenuItem *item;
|
||||
|
||||
TRACE(("user_menu: enter\n"));
|
||||
|
||||
// Add boot volume
|
||||
menu->AddItem(item = new(nothrow) MenuItem("Select boot volume",
|
||||
add_boot_volume_menu(*_bootVolume)));
|
||||
@ -528,6 +536,8 @@ user_menu(Directory **_bootVolume)
|
||||
apply_safe_mode_options(safeModeMenu);
|
||||
delete menu;
|
||||
|
||||
TRACE(("user_menu: leave\n"));
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user