diff options
Diffstat (limited to 'c/layout.cpp')
-rw-r--r-- | c/layout.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/layout.cpp b/c/layout.cpp index 653b675..5b3ff00 100644 --- a/c/layout.cpp +++ b/c/layout.cpp @@ -68,14 +68,14 @@ void DlvDragger::Drag(const int, const int y) const void DlvDragger::Reset() const { + extern CfgA& g_cfg; g_dlv->SetHeight(0); - extern FileView<CfgA> g_fvCfg; - g_fvCfg->heightDlv = 0; + g_cfg.heightDlv = 0; UpdateLayout(); } void DlvDragger::Done() const { - extern FileView<CfgA> g_fvCfg; - g_fvCfg->heightDlv = g_dlv->Height(); + extern CfgA& g_cfg; + g_cfg.heightDlv = g_dlv->Height(); } |