]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_filterdxf.cpp
Fixed Library Browser...
[architektonas] / src / base / rs_filterdxf.cpp
index 546d2ea428d989192466a2559dc3dd035e8e32a9..c1b73c438920517dfd4dc9c265c677f11481977e 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -89,7 +91,7 @@ bool RS_FilterDXF::fileImport(Drawing & g, const QString & file, RS2::FormatType
        RS_DEBUG->print("RS_FilterDXF::fileImport: reading file: OK");
        //graphic->setAutoUpdateBorders(true);
 
-       if (success == false)
+       if (!success)
        {
                RS_DEBUG->print(RS_Debug::D_WARNING, "Cannot open DXF file '%s'.",
                        (const char *)QFile::encodeName(file));