aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-02-12 10:29:24 (GMT)
committerrathnor <rathnor>2004-02-12 10:29:24 (GMT)
commit1616e9d168c739246eb9af39e7830e95f2c715f9 (patch)
tree901e8265d280282f25bc57aa505ad174be106795 /src/Slit.cc
parent4ae645d9505d94ef0cb51d8bfd810a4a90d67017 (diff)
downloadfluxbox_pavel-1616e9d168c739246eb9af39e7830e95f2c715f9.zip
fluxbox_pavel-1616e9d168c739246eb9af39e7830e95f2c715f9.tar.bz2
minor fix
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 635612c..3802d07 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.90 2004/02/10 18:45:26 fluxgen Exp $ 25// $Id: Slit.cc,v 1.91 2004/02/12 10:29:24 rathnor Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -1132,7 +1132,7 @@ void Slit::loadClientList(const char *filename) {
1132 m_filename = FbTk::StringUtil::expandFilename(filename); 1132 m_filename = FbTk::StringUtil::expandFilename(filename);
1133 1133
1134 struct stat buf; 1134 struct stat buf;
1135 if (stat(m_filename.c_str(), &buf) != 0) { 1135 if (stat(m_filename.c_str(), &buf) == 0) {
1136 std::ifstream file(m_filename.c_str()); 1136 std::ifstream file(m_filename.c_str());
1137 std::string name; 1137 std::string name;
1138 while (! file.eof()) { 1138 while (! file.eof()) {