Changeset 659 for cpp/frams


Ignore:
Timestamp:
04/24/17 18:15:49 (7 years ago)
Author:
Maciej Komosinski
Message:

Detecting more unwanted flags in Param sanity check

File:
1 edited

Legend:

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

    r654 r659  
    801801        else
    802802        {
    803                 if (!(pe->flags & PARAM_READONLY))
     803                if (!(pe->flags & (PARAM_READONLY | PARAM_DONTSAVE | PARAM_USERREADONLY | PARAM_CONST | PARAM_DONTLOAD | PARAM_LINECOMMENT | PARAM_OBJECTSET)))
    804804                { //write access
    805805                        if ((pe->fun2 == NULL) && (pe->offset == PARAM_ILLEGAL_OFFSET))
Note: See TracChangeset for help on using the changeset viewer.