We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 397046a + b78fcf5 commit a44f4beCopy full SHA for a44f4be
app/src/processing/app/Base.java
@@ -1347,6 +1347,14 @@ public void onBoardOrPortChange() {
1347
try {
1348
String headers[] = headerListFromIncludePath(lib.getSrcFolder());
1349
for (String header : headers) {
1350
+ Library old = importToLibraryTable.get(header);
1351
+ if (old != null) {
1352
+ // If a library was already found with this header, keep
1353
+ // it if the library's name matches the header name.
1354
+ String name = header.substring(0, header.length() - 2);
1355
+ if (old.getFolder().getPath().endsWith(name))
1356
+ continue;
1357
+ }
1358
importToLibraryTable.put(header, lib);
1359
}
1360
} catch (IOException e) {
0 commit comments