[BACK]Return to help.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Diff for /OpenXM_contrib/gnuplot/Attic/help.c between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/01/09 17:00:51 version 1.1.1.2, 2000/01/22 14:15:58
Line 562  TBOOLEAN *subtopics;  /* (out) are there any subtopics
Line 562  TBOOLEAN *subtopics;  /* (out) are there any subtopics
                     *line = NUL;                      *line = NUL;
                     pos = 0;                      pos = 0;
                 }                  }
                 if (pos == PER_LINE) {                  if (pos >= PER_LINE) {
                     (void) strcat(line, "\n");                      (void) strcat(line, "\n");
                     OutLine(line);                      OutLine(line);
                     *line = NUL;                      *line = NUL;
                     pos = 0;                      pos = 0;
                 }                  }
                 /* adapted by DvdSchaaf */  #define FIRSTCOL        4
                 {  #define COLLENGTH       18
 #define FIRSTCOL        6  
 #define COLLENGTH       15  
   
                     if (pos == 0)                  /* adapted by DvdSchaaf */
                         spacelen = FIRSTCOL;                  if (pos == 0)
                     for (ispacelen = 0;                      spacelen = FIRSTCOL;
                          ispacelen < spacelen; ispacelen++)                  for (ispacelen = 0; ispacelen < spacelen; ispacelen++)
                         (void) strcat(line, " ");                      (void) strcat(line, " ");
                     /* commented out *                  (void) strncat(line, start, sublen);
                        (void) strcat(line, "\t");                  spacelen = COLLENGTH - sublen;
                      */  
                     (void) strncat(line, start, sublen);                  while (spacelen <= 0) {
                     spacelen = COLLENGTH - sublen;                      spacelen += COLLENGTH;
                     if (spacelen <= 0)                          pos++;
                         spacelen = 1;  
                 }                  }
   
                 pos++;                  pos++;
                 prev = start;                  prev = start;
             }              }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>