From 1190b7880a8f60e9dbd58452cedc8b13fde58ef5 Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Thu, 14 Jan 2016 20:43:38 -0500 Subject: [PATCH] Fix double class name Mostly cosmetic change, although there are compilers that choke on this. The C++ standard specifies that classes contain themselves as members, probably so they shadow any other definition of the same name for their own member functions, but there is really no reason why the class name should be duplicated here. --- pcbnew/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/files.cpp b/pcbnew/files.cpp index f4e9793ccf..88bcf37939 100644 --- a/pcbnew/files.cpp +++ b/pcbnew/files.cpp @@ -378,7 +378,7 @@ IO_MGR::PCB_FILE_T plugin_type( const wxString& aFileName, int aCtl ) { pluginType = IO_MGR::LEGACY; } - else if( fn.GetExt() == IO_MGR::GetFileExtension( IO_MGR::IO_MGR::PCAD ) ) + else if( fn.GetExt() == IO_MGR::GetFileExtension( IO_MGR::PCAD ) ) { pluginType = IO_MGR::PCAD; }