* hotlist.c (update_path_name): Avoid using global variable.
(l_call): Likewise.
Этот коммит содержится в:
родитель
bd4a76ebb3
Коммит
ab427784c8
@ -1,5 +1,8 @@
|
||||
2003-09-01 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* hotlist.c (update_path_name): Avoid using global variable.
|
||||
(l_call): Likewise.
|
||||
|
||||
* widget.h: Eliminate listbox_cback. Call listbox callback
|
||||
whenever it's defined. Adjust all users.
|
||||
|
||||
|
@ -164,7 +164,7 @@ update_path_name (void)
|
||||
{
|
||||
char *text, *p;
|
||||
WListbox *list = hotlist_state.moving ? l_movelist : l_hotlist;
|
||||
Dlg_head *dlg = hotlist_state.moving ? movelist_dlg : hotlist_dlg;
|
||||
Dlg_head *dlg = list->widget.parent;
|
||||
|
||||
if (list->current) {
|
||||
if (list->current->data != 0) {
|
||||
@ -478,7 +478,7 @@ l1:
|
||||
|
||||
static int l_call (WListbox *list)
|
||||
{
|
||||
Dlg_head *dlg = hotlist_state.moving ? movelist_dlg : hotlist_dlg;
|
||||
Dlg_head *dlg = list->widget.parent;
|
||||
|
||||
if (list->current){
|
||||
if (list->current->data) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user