Code cleanup File name expansion is done internally by the Slit::loadClientList, so there is no need to duplicate the code.
Arkadiusz Bokowy arkadiusz.bokowy@gmail.com
1 files changed,
1 insertions(+),
3 deletions(-)
jump to
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -1183,9 +1183,7 @@ m_rc_menufile.setDefaultValue();
FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans); - if (!m_rc_slitlistfile->empty()) { - *m_rc_slitlistfile = StringUtil::expandFilename(*m_rc_slitlistfile); - } else { + if (m_rc_slitlistfile->empty()) { string filename = getDefaultDataFilename("slitlist"); m_rc_slitlistfile.setFromString(filename.c_str()); }