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

Diff for /src/usr.bin/less/input.c between version 1.6 and 1.7

version 1.6, 2011/09/21 19:01:49 version 1.7, 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 416 
Line 415 
                 goto get_back_line;                  goto get_back_line;
         }          }
   
         if (status_col && is_hilited(base_pos, ch_tell()-1, 1, NULL))          if (status_col && curr_pos > 0 && is_hilited(base_pos, curr_pos-1, 1, NULL))
                 set_status_col('*');                  set_status_col('*');
 #endif  #endif
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7