Re: edit_status () prints bad status line (fwd)
- From: "Pavel Shirshov (pchel)" <me pavelsh pp ru>
- To: Pavel Tsekov <ptsekov gmx net>
- Cc: MC dev <mc-devel gnome org>
- Subject: Re: edit_status () prints bad status line (fwd)
- Date: Wed, 10 Nov 2004 19:09:51 +0500
Hello Pavel,
Tuesday, November 9, 2004, 7:31:34 PM, you wrote:
PT> While working on the editor I noticed that the status line outputs
PT> more characters than the actual number of columns.
PT> printw ("%-*s", fname_len + gap, fname);
PT> if (fname_len + gap < w)
PT> printw ("%-*s ", w - (fname_len + gap), status);
PT> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PT> You should change the line above to:
PT> printw ("%-*s ", w - (fname_len + gap + 2), status);
Committed. Thx.
--
Best regards,
Pavel mailto:me pavelsh pp ru
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]