all repos — fluxbox @ 1616e9d168c739246eb9af39e7830e95f2c715f9

custom fork of the fluxbox windowmanager

minor fix
rathnor rathnor
commit

1616e9d168c739246eb9af39e7830e95f2c715f9

parent

4ae645d9505d94ef0cb51d8bfd810a4a90d67017

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/Slit.ccsrc/Slit.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Slit.cc,v 1.90 2004/02/10 18:45:26 fluxgen Exp $ +// $Id: Slit.cc,v 1.91 2004/02/12 10:29:24 rathnor Exp $ #include "Slit.hh"

@@ -1132,7 +1132,7 @@ // save filename so we can save client list later

m_filename = FbTk::StringUtil::expandFilename(filename); struct stat buf; - if (stat(m_filename.c_str(), &buf) != 0) { + if (stat(m_filename.c_str(), &buf) == 0) { std::ifstream file(m_filename.c_str()); std::string name; while (! file.eof()) {