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:
parent
a02adccef6
commit
690bb95530
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue