/[global]/global/htags/defineindex.c
ViewVC logotype

Diff of /global/htags/defineindex.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by shigio, Sat Mar 19 22:47:07 2005 UTC revision 1.12 by h-iwamoto, Mon Mar 21 15:51:11 2005 UTC
# Line 107  makedefineindex(file, total, defines) Line 107  makedefineindex(file, total, defines)
107                  tag = _;                  tag = _;
108                  message(" [%d/%d] adding %s", count, total, tag);                  message(" [%d/%d] adding %s", count, total, tag);
109                  if (aflag && (alpha[0] == '\0' || strncmp(tag, alpha, strlen(alpha)))) {                  if (aflag && (alpha[0] == '\0' || strncmp(tag, alpha, strlen(alpha)))) {
110                          char *msg = (alpha_count == 1) ? "definition is containded." : "definitions are containded.";                          char *msg = (alpha_count == 1) ? "definition is contained." : "definitions are contained.";
111    
112                          if (alpha[0]) {                          if (alpha[0]) {
113                                  strbuf_sprintf(defines, "<a href='defines/%s.%s' title='%d %s'>[%s]</a>\n",                                  strbuf_sprintf(defines, "<a href='defines/%s.%s' title='%d %s'>[%s]</a>\n",
# Line 258  makedefineindex(file, total, defines) Line 258  makedefineindex(file, total, defines)
258                  die("'%s' failed.", command);                  die("'%s' failed.", command);
259          STDOUT = old;          STDOUT = old;
260          if (aflag && alpha[0]) {          if (aflag && alpha[0]) {
261                  char *msg = (alpha_count == 1) ? "definition is containded." : "definitions are containded.";                  char *msg = (alpha_count == 1) ? "definition is contained." : "definitions are contained.";
262    
263                  strbuf_sprintf(defines, "<a href='defines/%s.%s' title='%d %s'>[%s]</a>\n", alpha_f, HTML, alpha_count, msg, alpha);                  strbuf_sprintf(defines, "<a href='defines/%s.%s' title='%d %s'>[%s]</a>\n", alpha_f, HTML, alpha_count, msg, alpha);
264                  if (!no_order_list)                  if (!no_order_list)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26