Skip to content

Commit 5d2011a

Browse files
committed
config: fix outdated comment
1 parent 0c54893 commit 5d2011a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/config.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Config::Config(Display* dpy, Properties* prop, const string& filename)
2626
: dpy_(dpy), prop_(prop), filename_(sys_utils::ToAbsPath(filename)) {}
2727

2828
void Config::Load() {
29-
// Convert it to full path first (in case it starts with ~)
29+
WM_LOG(INFO, "Loading user configuration: " << filename_);
3030
ifstream fin(filename_);
3131
fin >> *this;
3232
}
@@ -164,8 +164,6 @@ const string& Config::ReplaceSymbols(string& s) {
164164
}
165165

166166
ifstream& operator>>(ifstream& ifs, Config& config) {
167-
WM_LOG(INFO, "Loading user configuration: " << config.filename_);
168-
169167
// Load the built-in WM variables with their default values.
170168
config.gap_width_ = DEFAULT_GAP_WIDTH;
171169
config.border_width_ = DEFAULT_BORDER_WIDTH;

0 commit comments

Comments
 (0)