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

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

version 1.16, 2015/11/07 18:07:44 version 1.17, 2015/11/09 16:46:43
Line 216 
Line 216 
         case 'x':       /* Is there a "next" file? */          case 'x':       /* Is there a "next" file? */
                 if (ntags())                  if (ntags())
                         return (0);                          return (0);
                 return (next_ifile(curr_ifile) != NULL_IFILE);                  return (next_ifile(curr_ifile) != NULL);
         }          }
         return (0);          return (0);
 }  }
Line 350 
Line 350 
                 break;                  break;
         case 'x':       /* Name of next file */          case 'x':       /* Name of next file */
                 h = next_ifile(curr_ifile);                  h = next_ifile(curr_ifile);
                 if (h != NULL_IFILE)                  if (h != NULL)
                         ap_str(get_filename(h));                          ap_str(get_filename(h));
                 else                  else
                         ap_quest();                          ap_quest();

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