1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-14 19:55:45 +02:00

code bug using == instead of !=

This commit is contained in:
David McKnight 2007-10-26 18:26:55 +00:00
parent 82dd0450cc
commit 1fb22d2108

View file

@ -971,7 +971,7 @@ public class SystemEditableRemoteFile implements ISystemEditableRemoteObject, IP
if (activePage == null) if (activePage == null)
{ {
IWorkbenchWindow activeWindow = wb.getActiveWorkbenchWindow(); IWorkbenchWindow activeWindow = wb.getActiveWorkbenchWindow();
if (activeWindow == null) if (activeWindow != null)
{ {
activePage = activeWindow.getActivePage(); activePage = activeWindow.getActivePage();
} }