From 1b4596ee852eaa770064f2711a1b6445a6c4303d Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Fri, 2 Oct 2009 08:37:44 +0200 Subject: bugfix: stop wiping out ~/.fluxbox/keys --- util/fluxbox-update_configs.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc index 40962da..fcb9bc2 100644 --- a/util/fluxbox-update_configs.cc +++ b/util/fluxbox-update_configs.cc @@ -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(); -- cgit v0.11.2