mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 05:15:43 +02:00
Bug 315835 - NPE in DisassemblyPart
This commit is contained in:
parent
9a3245584f
commit
3815a4b8ad
1 changed files with 1 additions and 1 deletions
|
@ -1386,7 +1386,7 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
|||
if (previousPos instanceof LabelPosition) {
|
||||
revealOffset = previousPos.offset;
|
||||
onTop = true;
|
||||
} else if (!previousPos.fValid) {
|
||||
} else if (previousPos == null || !previousPos.fValid) {
|
||||
onTop = true;
|
||||
}
|
||||
} catch (BadLocationException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue