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

Diff of /global/htags/common.c

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

revision 1.15 by h-iwamoto, Tue Mar 29 13:42:37 2005 UTC revision 1.16 by h-iwamoto, Tue Mar 29 15:25:50 2005 UTC
# Line 316  gen_image(where, file, alt) Line 316  gen_image(where, file, alt)
316          char *dir = (where == PARENT) ? "../icons" : "icons";          char *dir = (where == PARENT) ? "../icons" : "icons";
317                                    
318          if (enable_xhtml)          if (enable_xhtml)
                 snprintf(buf, sizeof(buf), "<img src='%s/%s.%s' alt='[%s]' %s%s>",  
                         dir, file, icon_suffix, alt, icon_spec, empty_element);  
         else  
319                  snprintf(buf, sizeof(buf), "<img class='icon' src='%s/%s.%s' alt='[%s]'%s>",                  snprintf(buf, sizeof(buf), "<img class='icon' src='%s/%s.%s' alt='[%s]'%s>",
320                          dir, file, icon_suffix, alt, empty_element);                          dir, file, icon_suffix, alt, empty_element);
321            else
322                    snprintf(buf, sizeof(buf), "<img src='%s/%s.%s' alt='[%s]' %s%s>",
323                            dir, file, icon_suffix, alt, icon_spec, empty_element);
324          return buf;          return buf;
325  }  }
326  /*  /*

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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