* screen.c (Xtry_to_select): Make static, rename to

do_try_to_select().
This commit is contained in:
Pavel Roskin 2002-11-11 04:07:40 +00:00
parent e5140f37d4
commit dc9869db9e
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2002-11-10 Pavel Roskin <proski@gnu.org> 2002-11-10 Pavel Roskin <proski@gnu.org>
* screen.c (Xtry_to_select): Make static, rename to
do_try_to_select().
* screen.c (chdir_other_panel): Change behavior of Alt-O - * screen.c (chdir_other_panel): Change behavior of Alt-O -
change the other panel to the current directory, put it to the change the other panel to the current directory, put it to the
listing mode if needed. Based on a patch from PLD Linux listing mode if needed. Based on a patch from PLD Linux

View File

@ -125,7 +125,6 @@ WPanel *panel_new (const char *panel_name);
void panel_set_size (WPanel *panel, int x1, int y1, int x2, int y2); void panel_set_size (WPanel *panel, int x1, int y1, int x2, int y2);
void paint_paint (WPanel *panel); void paint_paint (WPanel *panel);
void panel_refresh (WPanel *panel); void panel_refresh (WPanel *panel);
void Xtry_to_select (WPanel *panel, char *name);
void panel_clean_dir (WPanel *panel); void panel_clean_dir (WPanel *panel);
extern int torben_fj_mode; extern int torben_fj_mode;

View File

@ -772,8 +772,8 @@ do_select (WPanel *panel, int i)
} }
} }
void static inline void
Xtry_to_select (WPanel *panel, char *name) do_try_to_select (WPanel *panel, char *name)
{ {
int i; int i;
char *subdir; char *subdir;
@ -806,7 +806,7 @@ Xtry_to_select (WPanel *panel, char *name)
void void
try_to_select (WPanel *panel, char *name) try_to_select (WPanel *panel, char *name)
{ {
Xtry_to_select (panel, name); do_try_to_select (panel, name);
select_item (panel); select_item (panel);
display_mini_info (panel); display_mini_info (panel);
} }