lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] patch to fix notitle bug


From: PBM .
Subject: [Lynx-dev] patch to fix notitle bug
Date: Wed, 23 May 2007 15:48:22 +0200

Well it is still better that nothing.

--- lynx2-8-7/src/LYMainLoop.c  2007-05-18 00:53:22.000000000 +0200
+++ src/LYMainLoop.c       2007-05-23 15:34:55.834564000 +0200
@@ -5330,10 +5330,16 @@
     FREE(form_post_data);
     FREE(form_get_data);

-    if (user_mode == NOVICE_MODE)
-       display_lines = LYlines - 4;
-    else
-       display_lines = LYlines - 2;
+       if(!no_title)
+           if (user_mode == NOVICE_MODE)
+               display_lines = LYlines - 4;
+           else
+               display_lines = LYlines - 2;
+       else
+           if (user_mode == NOVICE_MODE)
+               display_lines = LYlines - 3;
+           else
+               display_lines = LYlines - 1;

     while (TRUE) {
 #ifdef USE_COLOR_STYLE
@@ -6075,11 +6081,17 @@
            if (HTMainText)     /* to REALLY force it... - kw */
                HText_setStale(HTMainText);
            recent_sizechange = FALSE;
-           if (user_mode == NOVICE_MODE) {
-               display_lines = LYlines - 4;
-           } else {
-               display_lines = LYlines - 2;
-           }
+
+           if (!no_title)
+               if (user_mode == NOVICE_MODE)
+                   display_lines = LYlines - 4;
+               else
+                   display_lines = LYlines - 2;
+           else
+               if (user_mode == NOVICE_MODE)
+                   display_lines = LYlines - 3;
+               else
+                   display_lines = LYlines - 1;
        }

        if (www_search_result != -1) {


reply via email to

[Prev in Thread] Current Thread [Next in Thread]