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

Diff for /src/usr.bin/window/Attic/ttinit.c between version 1.7 and 1.8

version 1.7, 2000/04/15 05:22:14 version 1.8, 2001/02/05 01:57:50
Line 46 
Line 46 
 #endif /* not lint */  #endif /* not lint */
   
 #include <stdlib.h>  #include <stdlib.h>
   #include <string.h>
 #include "ww.h"  #include "ww.h"
 #include "tt.h"  #include "tt.h"
   
Line 99 
Line 100 
 #ifdef NCURSES_VERSION  #ifdef NCURSES_VERSION
         wwterm = strdup(_nc_first_name(cur_term->type.term_names));          wwterm = strdup(_nc_first_name(cur_term->type.term_names));
 #elif !defined(TERMINFO)  #elif !defined(TERMINFO)
         if ((p = strchr(wwtermcap, '|')) && p - wwtermcap == 2) {          if ((p = strchr(wwtermcap, '|')) && (int)(p - wwtermcap) == 2) {
                 /* Skip the two-character short name. */                  /* Skip the two-character short name. */
                 for (p = wwtermcap; *p && *p != '|' && *p != ':'; p++)                  for (p = wwtermcap; *p && *p != '|' && *p != ':'; p++)
                         ;                          ;

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