[BACK]Return to screen.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/screen.c between version 1.16 and 1.17

version 1.16, 2011/09/21 19:01:49 version 1.17, 2014/04/25 13:38:21
Line 1 
Line 1 
 /*  /*
  * Copyright (C) 1984-2011  Mark Nudelman   * Copyright (C) 1984-2012  Mark Nudelman
  *   *
  * You may distribute under the terms of either the GNU General Public   * You may distribute under the terms of either the GNU General Public
  * License or the Less License, as specified in the README file.   * License or the Less License, as specified in the README file.
  *   *
  * For more information about less, or for information on how to   * For more information, see the README file.
  * contact the author, see the README file.  
  */   */
   
   
Line 804 
Line 803 
         else if ((n = ltgetnum("li")) > 0)          else if ((n = ltgetnum("li")) > 0)
                 sc_height = n;                  sc_height = n;
 #endif  #endif
         else          if (sc_height <= 0)
                 sc_height = DEF_SC_HEIGHT;                  sc_height = DEF_SC_HEIGHT;
   
         if (sys_width > 0)          if (sys_width > 0)
Line 815 
Line 814 
         else if ((n = ltgetnum("co")) > 0)          else if ((n = ltgetnum("co")) > 0)
                 sc_width = n;                  sc_width = n;
 #endif  #endif
         else          if (sc_width <= 0)
                 sc_width = DEF_SC_WIDTH;                  sc_width = DEF_SC_WIDTH;
 }  }
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17