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; |
} |
} |