1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Fix NPE in ExternalExecutablesManager

This commit is contained in:
Uwe Stieber 2016-03-08 17:01:11 +01:00
parent a02adccef6
commit 690bb95530

View file

@ -278,7 +278,7 @@ public class ExternalExecutablesManager {
biggest = d;
} else if (id.height != 16 && d.height < id.height && id.width != 16 && d.width < id.width) {
id = d;
} else if (d.height > biggest.height && d.width > biggest.width) {
} else if (biggest == null || d.height > biggest.height && d.width > biggest.width) {
biggest = d;
}
}