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

Diff for /src/usr.bin/vim/Attic/message.c between version 1.2 and 1.3

version 1.2, 1996/09/21 06:23:09 version 1.3, 1996/09/22 01:18:03
Line 23 
Line 23 
 static void msg_screen_outchar __ARGS((int c));  static void msg_screen_outchar __ARGS((int c));
 static int msg_check_screen __ARGS((void));  static int msg_check_screen __ARGS((void));
   
 static int      lines_left = -1;                        /* lines left for listing */  /* lines_left moved to globals so do_exmode could see it */
   
 /*  /*
  * msg(s) - displays the string 's' on the status line   * msg(s) - displays the string 's' on the status line
Line 245 
Line 245 
                 quit_more = FALSE;                  quit_more = FALSE;
                 got_int = FALSE;                  got_int = FALSE;
         }          }
           else if (exmode_active)
           {
                   MSG_OUTSTR(" ");    /* make sure the cursor is on the right line */
                   c = CR;                     /* no need for a return in ex mode */
                   got_int = FALSE;
           }
         else          else
         {          {
                 State = HITRETURN;                  State = HITRETURN;
Line 546 
Line 552 
         int             n_spaces = 0;          int             n_spaces = 0;
         char_u                  *p = NULL;                      /* init to make SASC shut up */          char_u                  *p = NULL;                      /* init to make SASC shut up */
         int                     n;          int                     n;
   
           /*
            * if it's a blank line, echo a space, because otherwise if we're
            * in ex mode, the : for the next command will end up on the wrong
            * line.  I don't know why -- hooray for cargo cult programming!
            */
   
           if (*s == 0) {
                   msg_outchar(' ');
           }
   
         for (;;)          for (;;)
         {          {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3