Rev 9893 | Rev 12011 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9893 | Rev 9894 | ||
---|---|---|---|
Line 110... | Line 110... | ||
110 | 110 | ||
111 | void about(void) |
111 | void about(void) |
112 | { char *p; |
112 | { char *p; |
113 | prepabout(aboutquitstring,outputfname,NULL); |
113 | prepabout(aboutquitstring,outputfname,NULL); |
114 | if(readabout()>0) { |
114 | if(readabout()>0) { |
- | 115 | /* Take first line in version message */ |
|
115 | p=strchr(aboutbuf,'\n'); if(p!=NULL) *p=0; |
116 | p=strchr(aboutbuf,'\n'); if(p!=NULL) *p=0; |
- | 117 | /* delete garbage before "GAP" */ |
|
116 | p=aboutbuf; while(*p && *p!='G') p++; |
118 | p=aboutbuf; while(*p && *p!='G') p++; |
117 | strip_trailing_spaces(p); |
119 | strip_trailing_spaces(p); |
118 | printf("<a target=\"wims_external\" href=\"%s\">%s</a>",homepage,p); |
120 | printf("<a target=\"wims_external\" href=\"%s\">%s</a>",homepage,p); |
119 | } |
121 | } |
120 | } |
122 | } |