]> granicus.if.org Git - neomutt/commitdiff
Help screen resizing nit. From Gero Treuner.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 8 Dec 1998 23:09:53 +0000 (23:09 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 8 Dec 1998 23:09:53 +0000 (23:09 +0000)
help.c

diff --git a/help.c b/help.c
index eaedf7b0a6a2a59c36f667f7d997cf6a7d0af659..9bf3df5630922f4fa50e19de14a899d73c6fe0fd 100644 (file)
--- a/help.c
+++ b/help.c
@@ -174,8 +174,8 @@ static void format_line (FILE *f, int ismacro,
   }
   else
   {
-    col_a = 12 + (COLS > 83 ? (COLS - 80) >> 2 : 0);
-    col_b = 19 + (COLS > 43 ? (COLS - 16) >> 2 : 0);
+    col_a = COLS > 83 ? (COLS - 32) >> 2 : 12;
+    col_b = COLS > 49 ? (COLS - 10) >> 1 : 19;
     col = pad (f, mutt_strlen(t1), col_a);
   }