projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be141c2
)
Ignore dot files in the styles directory.
author
Scott Moynes
<smoynes@nexus.carleton.ca>
Sat, 26 Oct 2002 15:31:33 +0000
(15:31 +0000)
committer
Scott Moynes
<smoynes@nexus.carleton.ca>
Sat, 26 Oct 2002 15:31:33 +0000
(15:31 +0000)
src/Screen.cc
patch
|
blob
|
history
diff --git
a/src/Screen.cc
b/src/Screen.cc
index 165a4a93c8f058ce905c00dddeceb53ce81e3cfc..eb93320638f98ba4b999d2994043b562646d1a49 100644
(file)
--- 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;