diff options
author | Danny Baumann <dannybaumann@web.de> | 2008-08-08 07:53:12 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2008-08-08 07:53:12 +0200 |
commit | 90b69b49355f9738e4bfa0621dbcdc06d14e9938 (patch) | |
tree | 6273a622d63fb12704c4c20988b30cbdb8e7ff23 /src | |
parent | 1a07876af9f19af2d191ab32edd1953d6a456cca (diff) |
Don't modify action priv value when applying option changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index bbc15fdb..3c8e108c 100644 --- a/src/option.c +++ b/src/option.c @@ -234,10 +234,11 @@ compSetActionOption (CompOption *option, CompAction *action = &option->value.action; CompOptionValue v = *value; - /* initiate, terminate and state should never be changed */ + /* initiate, terminate, priv and state should never be changed */ v.action.initiate = action->initiate; v.action.terminate = action->terminate; v.action.state = action->state; + v.action.priv = action->priv; if (action->type == v.action.type) { |