1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for watchpoints.

This commit is contained in:
Mikhail Khodjaiants 2002-11-24 23:18:01 +00:00
parent b6683a70d2
commit 626262c9a0
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-11-24 Mikhail Khodjaiants
Fix for watchpoints.
* CSourceLocator.java
2002-11-22 Mikhail Khodjaiants
Cache source elements to optimize search.
* CProjectSourceLocator.java

View file

@ -141,7 +141,7 @@ public class CSourceLocator implements ICSourceLocator, IPersistableSourceLocato
if ( resource instanceof IProject )
{
if ( locations[i] instanceof CProjectSourceLocation &&
((CProjectSourceLocation)locations[i]).equals( resource ) )
((CProjectSourceLocation)locations[i]).getProject().equals( resource ) )
{
return true;
}