X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_filterdxf.cpp;h=c1b73c438920517dfd4dc9c265c677f11481977e;hb=bd2b29c8735d83ab48df13c3efee53f63570473e;hp=546d2ea428d989192466a2559dc3dd035e8e32a9;hpb=89e127aa3dbd74d3158e6dbe0ca1703420c04395;p=architektonas diff --git a/src/base/rs_filterdxf.cpp b/src/base/rs_filterdxf.cpp index 546d2ea..c1b73c4 100644 --- a/src/base/rs_filterdxf.cpp +++ b/src/base/rs_filterdxf.cpp @@ -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 // @@ -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));