mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-5528 Incorrect HTML link for referenced typedefs
Client: html Patch: Jens Geyer
This commit is contained in:
parent
9bee877e66
commit
8fea4ea0c1
@ -694,7 +694,7 @@ int t_html_generator::print_type(t_type* ttype) {
|
||||
string type_name = ttype->get_name();
|
||||
f_out_ << "<a href=\"" << make_file_link(prog_name + ".html") << "#";
|
||||
if (ttype->is_typedef()) {
|
||||
f_out_ << "Struct_";
|
||||
f_out_ << "Typedef_";
|
||||
} else if (ttype->is_struct() || ttype->is_xception()) {
|
||||
f_out_ << "Struct_";
|
||||
} else if (ttype->is_enum()) {
|
||||
|
Loading…
Reference in New Issue
Block a user