Skip to content

Commit

Permalink
params: fix issue where env options were not applied
Browse files Browse the repository at this point in the history
  • Loading branch information
flightlessmango committed Apr 17, 2023
1 parent 7225aaa commit 7f94562
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/overlay_params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,13 @@ parse_overlay_env(struct overlay_params *params,
if (!strcmp(#name, key)) { \
params->enabled[OVERLAY_PARAM_ENABLED_##name] = \
strtol(value, NULL, 0); \
add_to_options(params, key, value); \
continue; \
}
#define OVERLAY_PARAM_CUSTOM(name) \
if (!strcmp(#name, key)) { \
params->name = parse_##name(value); \
add_to_options(params, key, value); \
continue; \
}
OVERLAY_PARAMS
Expand Down

0 comments on commit 7f94562

Please sign in to comment.