Ignore dot files in the styles directory.
This commit is contained in:
parent
be141c2ac3
commit
9af642d299
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue