]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_filterdxf.cpp
Still in the middle of fixing preview/snapper rendering...
[architektonas] / src / base / rs_filterdxf.cpp
index b3e606bbeb62e0a403b93c51dcfebc8b889421f8..c1b73c438920517dfd4dc9c265c677f11481977e 100644 (file)
@@ -91,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));