diff --git a/src/ChangeLog b/src/ChangeLog index 1fffff9e1..73a613050 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-08-24 Pavel Tsekov + + * screen.c (show_dir): Remove unneeded code. + 2007-08-23 Pavel Tsekov * filegui.c (rd_widgets) [_LARGE_FILES]: Use format string diff --git a/src/screen.c b/src/screen.c index 0ae5979de..f5135cb7d 100644 --- a/src/screen.c +++ b/src/screen.c @@ -792,7 +792,7 @@ show_dir (WPanel *panel) tmp[panel->widget.cols] = '\0'; trim (strip_home_and_password (panel->cwd), tmp, - min (max (panel->widget.cols - 7, 0), panel->widget.cols) ); + max (panel->widget.cols - 7, 0)); addstr (tmp); g_free (tmp); widget_move (&panel->widget, 0, 1);