updated: to the new Ezc API
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@974 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -214,7 +214,7 @@ void menu_dir_init(Info & i, long dir_id, int param, bool with_meta)
|
||||
skip_static_files(*citem);
|
||||
}
|
||||
|
||||
i.stack->fun_data = new StackItem(citem);
|
||||
i.stack.fun_data = new StackItem(citem);
|
||||
}
|
||||
|
||||
|
||||
@@ -290,13 +290,13 @@ void menu_dir_init(Info & i)
|
||||
|
||||
void menu_dir_tab(Info & i)
|
||||
{
|
||||
if( !i.stack->fun_data )
|
||||
if( !i.stack.fun_data )
|
||||
menu_dir_init(i);
|
||||
|
||||
if( i.stack->fun_data )
|
||||
if( i.stack.fun_data )
|
||||
{
|
||||
StackItem * sitem = reinterpret_cast<StackItem*>(i.stack->fun_data);
|
||||
i.res = (i.stack->iter < sitem->citem->menu_items.size());
|
||||
StackItem * sitem = reinterpret_cast<StackItem*>(i.stack.fun_data);
|
||||
i.res = (i.stack.iter < sitem->citem->menu_items.size());
|
||||
}
|
||||
|
||||
//
|
||||
@@ -311,7 +311,7 @@ void menu_dir_tab(Info & i)
|
||||
// [end]
|
||||
//
|
||||
if( i.is_for )
|
||||
stack = i.stack;
|
||||
stack = &i.stack;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user