Fix dcm files not working with lib file in version 2.4

Fixes: lp:1722107
https://bugs.launchpad.net/kicad/+bug/1722107
This commit is contained in:
jean-pierre charras 2017-10-09 13:10:29 +02:00
parent b5f23befeb
commit 835c19f1e2
1 changed files with 3 additions and 3 deletions

View File

@ -67,13 +67,13 @@ class SCH_PLUGIN;
)
/*
* Library versions 2.3 and lower use the old separate library (.lib) and
* document (.dcm) files. Part libraries after 2.3 merged the library
* Library versions 2.4 and lower use the old separate library (.lib) and
* document (.dcm) files. Part libraries after 2.4 merged the library
* and document files into a single library file. This macro checks if the
* library version supports the old format
*/
#define USE_OLD_DOC_FILE_FORMAT( major, minor ) \
( LIB_VERSION( major, minor ) <= LIB_VERSION( 2, 3 ) )
( LIB_VERSION( major, minor ) <= LIB_VERSION( 2, 4 ) )
// Helper class to filter a list of libraries, and/or a list of PART_LIB
// in dialogs