mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25:38 +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;
|
biggest = d;
|
||||||
} else if (id.height != 16 && d.height < id.height && id.width != 16 && d.width < id.width) {
|
} else if (id.height != 16 && d.height < id.height && id.width != 16 && d.width < id.width) {
|
||||||
id = d;
|
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;
|
biggest = d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue