minor fix
rathnor rathnor
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/Slit.cc
→
src/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()) {