248 |
path += 2; /* remove './' */ |
path += 2; /* remove './' */ |
249 |
|
|
250 |
fid = path2fid(path); |
fid = path2fid(path); |
251 |
snprintf(url_for_map, sizeof(url_for_map), "%s/%s.%s#%s", |
snprintf(url_for_map, sizeof(url_for_map), "%s/%s.%s#L%s", |
252 |
SRCS, fid, HTML, lno); |
SRCS, fid, HTML, lno); |
253 |
if (aflag) |
if (aflag) |
254 |
strbuf_puts(url, "../"); |
strbuf_puts(url, "../"); |
255 |
strbuf_sprintf(url, "%s/%s.%s#%s", SRCS, fid, HTML, lno); |
strbuf_sprintf(url, "%s/%s.%s#L%s", SRCS, fid, HTML, lno); |
256 |
snprintf(guide, sizeof(guide), "Defined at %s in %s.", lno, path); |
snprintf(guide, sizeof(guide), "Defined at %s in %s.", lno, path); |
257 |
recover(&ptable); |
recover(&ptable); |
258 |
} |
} |