1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +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)
{
IWorkbenchWindow activeWindow = wb.getActiveWorkbenchWindow();
if (activeWindow == null)
if (activeWindow != null)
{
activePage = activeWindow.getActivePage();
}