From d25fdfdb8936cfb536814ea4f346f0a69d3455af Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Thu, 17 Aug 2017 22:48:05 -0600 Subject: [PATCH] Fix wx assertion for excess "|" in wildcard list --- pcbnew/librairi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/librairi.cpp b/pcbnew/librairi.cpp index 76eeb5d4ae..298bdd58f8 100644 --- a/pcbnew/librairi.cpp +++ b/pcbnew/librairi.cpp @@ -1,7 +1,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -109,7 +109,7 @@ static wxFileName getFootprintFilenameFromUser( wxWindow* aParent, const wxStrin wildCard << wxGetTranslation( KiCadFootprintLibFileWildcard ) << wxChar( '|' ) << wxGetTranslation( ModLegacyExportFileWildcard ) << wxChar( '|' ) - << wxGetTranslation( GedaPcbFootprintLibFileWildcard ) << wxChar( '|' ); + << wxGetTranslation( GedaPcbFootprintLibFileWildcard ); wxFileDialog dlg( aParent, FMT_IMPORT_MODULE, aLastPath, wxEmptyString, wildCard, wxFD_OPEN | wxFD_FILE_MUST_EXIST );