mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 04:55:22 +02:00
[191280] amendment to Xuan's patch for virtuals
This commit is contained in:
parent
607f4684a6
commit
8d099fd7d8
1 changed files with 1 additions and 1 deletions
|
@ -2044,7 +2044,7 @@ private DataElement createDataElementFromLSString(DataElement subject,
|
||||||
}
|
}
|
||||||
String oldValue = deObj.getAttribute(DE.A_VALUE);
|
String oldValue = deObj.getAttribute(DE.A_VALUE);
|
||||||
String newValue = rootPath + ArchiveHandlerManager.VIRTUAL_SEPARATOR + virtualPath;
|
String newValue = rootPath + ArchiveHandlerManager.VIRTUAL_SEPARATOR + virtualPath;
|
||||||
if (!oldValue.startsWith(newValue))
|
if (!oldValue.equals(newValue))
|
||||||
{
|
{
|
||||||
deObj.setAttribute(DE.A_VALUE, newValue); //$NON-NLS-1$
|
deObj.setAttribute(DE.A_VALUE, newValue); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue