options/m_config_frontend: fix depth variable
f59ee85a48changed the profile_depth to stack, but this one place remained unchanged by mistake. Fixes:f59ee85a48Fixes: #16010
This commit is contained in:
1 parent
6735d0c7d0
commit
92a7d7f7d4
1 file changed
+1
-1
@@ -459,7 +459,7 @@ static int m_config_handle_special_options(struct m_config *config,
|
||||
config->recursion_depth += 1;
|
||||
config->includefunc(config->includefunc_ctx, param, flags);
|
||||
config->recursion_depth -= 1;
|
||||
if (config->recursion_depth == 0 && config->profile_depth == 0)
|
||||
if (config->recursion_depth == 0 && config->profile_stack_depth == 0)
|
||||
m_config_finish_default_profile(config, flags);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user