summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 165a4a93..eb933206 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -2314,7 +2314,8 @@ bool BScreen::parseMenuFile(FILE *file, Rootmenu *menu) {
for (; it != end; ++it) {
const string& fname = *it;
- if (fname[fname.size()-1] == '~')
+ //ignore backups and dot files
+ if (fname[fname.size()-1] == '~' || fname[0] == '.')
continue;
string style = stylesdir;