version 1.59, 2009/10/07 14:39:00 |
version 1.60, 2009/10/07 15:06:03 |
Line 549 buffmt_includes(struct html *h, const char *name) |
|
Line 549 buffmt_includes(struct html *h, const char *name) |
|
const char *p, *pp; |
const char *p, *pp; |
|
|
pp = h->base_includes; |
pp = h->base_includes; |
while ((p = strchr(pp, '%'))) { |
p = strchr(pp, '%'); |
|
while (NULL != p) { |
bufncat(h, pp, (size_t)(p - pp)); |
bufncat(h, pp, (size_t)(p - pp)); |
switch (*(p + 1)) { |
switch (*(p + 1)) { |
case('I'): |
case('I'): |
Line 573 buffmt_man(struct html *h, |
|
Line 574 buffmt_man(struct html *h, |
|
const char *p, *pp; |
const char *p, *pp; |
|
|
pp = h->base_man; |
pp = h->base_man; |
while ((p = strchr(pp, '%'))) { |
p = strchr(pp, '%'); |
|
while (NULL != p) { |
bufncat(h, pp, (size_t)(p - pp)); |
bufncat(h, pp, (size_t)(p - pp)); |
switch (*(p + 1)) { |
switch (*(p + 1)) { |
case('S'): |
case('S'): |