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:
610b15c
)
this is a poop bug - find another way to do whatever you are trying to do - it busts...
author
Marius Nita
<marius@cs.pdx.edu>
Fri, 31 Jan 2003 17:44:11 +0000
(17:44 +0000)
committer
Marius Nita
<marius@cs.pdx.edu>
Fri, 31 Jan 2003 17:44:11 +0000
(17:44 +0000)
src/Screen.cc
patch
|
blob
|
history
diff --git
a/src/Screen.cc
b/src/Screen.cc
index 18ecd5a629372b633f4e5dec821779604cfe9aa3..8def765b4dfc421cba682e084f026eb89c947451 100644
(file)
--- a/
src/Screen.cc
+++ b/
src/Screen.cc
@@
-2085,7
+2085,7
@@
size_t string_within(char begin, char end,
bool BScreen::parseMenuFile(FILE *file, Rootmenu *menu) {
char line[1024], keyword[1024], label[1024], command[1024];
- bool done = False
, readData = False
;
+ bool done = False;
while (! (done || feof(file))) {
memset(line, 0, 1024);
@@
-2094,11
+2094,6
@@
bool BScreen::parseMenuFile(FILE *file, Rootmenu *menu) {
if (! fgets(line, 1024, file))
continue;
-
- if (! readData) {
- menu->clearMenu();
- readData = True;
- }
if (line[0] == '#') // comment, skip it
continue;