1
0
Fork 0
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:
Warren Paul 2010-06-04 23:26:25 +00:00
parent 9a3245584f
commit 3815a4b8ad

View file

@ -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) {