Changeset 1051 for cpp


Ignore:
Timestamp:
12/11/20 21:43:43 (4 years ago)
Author:
Maciej Komosinski
Message:

Fixed a bug in ParamObject?: not initializing a field in paramtab, previously unused, recently used as "long name" for more elaborate error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/paramobj.cpp

    r1005 r1051  
    4848        t->name = maybedup(dupentries, rename ? rename : pi->getName());
    4949        t->type = maybedup(dupentries, pi->getDescription());
     50        t->help = maybedup(dupentries, pi->getLongName());
    5051        for (i = 0; i < gcount; i++)
    5152        {
     
    132133                maybefree((void*)pe->name);
    133134                maybefree((void*)pe->type);
     135                maybefree((void*)pe->help);
    134136                for (i = 0, e = pe; i < pe->group; i++, e++)
    135137                        maybefree((void*)e->id);
Note: See TracChangeset for help on using the changeset viewer.