proto_registrar_dump_fields: output "" for blurb if blurb is a zero-length string.

svn path=/trunk/; revision=32975
This commit is contained in:
Bill Meier 2010-05-26 14:35:06 +00:00
parent 7c4ec2e051
commit 3d909801bc
1 changed files with 2 additions and 0 deletions

View File

@ -6070,6 +6070,8 @@ proto_registrar_dump_fields(const int format)
blurb = hfinfo->blurb;
if (blurb == NULL)
blurb = "";
else if (strlen(blurb) == 0)
blurb = "\"\"";
if (format == 1) {
printf("F\t%s\t%s\t%s\t%s\t%s\n",
hfinfo->name, hfinfo->abbrev, enum_name,