bugfix: stop wiping out ~/.fluxbox/keys

This commit is contained in:
Mathias Gumz 2009-10-02 08:37:44 +02:00
parent 261ba26d27
commit 1b4596ee85

View file

@ -489,12 +489,6 @@ string read_file(const string& filename) {
string linebuffer;
while (!infile.eof()) {
getline(infile, linebuffer);
// check if we read something at all. if its 0, its a strange file
// (eg a directory) or we are at the end
if (infile.gcount() == 0) {
break;
}
whole_file += linebuffer + "\n";
}
infile.close();