diff --git a/src/ChangeLog b/src/ChangeLog index 37257a7b7..13157d845 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-07-09 Pavel Tsekov + + * info.c (info_show_info): Properly calculate the length of the + line drawn by hline(). + 2005-07-07 Roland Illig * view.c (view_ccache_find): Replaced the linear search with a diff --git a/src/info.c b/src/info.c index 316aaba96..f8eb047e8 100644 --- a/src/info.c +++ b/src/info.c @@ -77,7 +77,7 @@ info_show_info (struct WInfo *info) printw (const_cast(char *, _("Midnight Commander %s")), VERSION); attrset (NORMAL_COLOR); widget_move (&info->widget, 2, 1); - hline (ACS_HLINE|NORMAL_COLOR, info->widget.x-2); + hline (ACS_HLINE|NORMAL_COLOR, info->widget.cols-2); if (get_current_type () != view_listing) return;