mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rename prefs.deco_mode to prefs.planner_deco_mode
This is to avoid confusion with planner.display_deco_mode. When accessing the "current deco mode" use the decoMode() helper function. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
bb4bf639c3
commit
935734100f
7 changed files with 20 additions and 20 deletions
|
|
@ -1439,7 +1439,7 @@ extern "C" bool in_planner()
|
|||
|
||||
extern "C" enum deco_mode decoMode()
|
||||
{
|
||||
return in_planner() ? prefs.deco_mode : prefs.display_deco_mode;
|
||||
return in_planner() ? prefs.planner_deco_mode : prefs.display_deco_mode;
|
||||
}
|
||||
|
||||
void init_proxy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue