aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()) {