mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-14 03:35:37 +02:00
Fixed copy&paste error in last commit
This commit is contained in:
parent
64d3465010
commit
bdc22eb579
1 changed files with 2 additions and 3 deletions
|
@ -15,7 +15,6 @@ import java.math.BigInteger;
|
|||
import java.util.Properties;
|
||||
import java.util.Vector;
|
||||
|
||||
import org.eclipse.cdt.debug.ui.memory.transport.model.IMemoryExporter;
|
||||
import org.eclipse.cdt.debug.ui.memory.transport.model.IMemoryImporter;
|
||||
import org.eclipse.core.runtime.IConfigurationElement;
|
||||
import org.eclipse.core.runtime.IExtensionPoint;
|
||||
|
@ -252,8 +251,8 @@ public class ImportMemoryDialog extends SelectionDialog
|
|||
*/
|
||||
static void initProperties(Properties properties, BigInteger addr) {
|
||||
final String addrstr = "0x" + addr.toString(16);
|
||||
if (!properties.containsKey(IMemoryExporter.TRANSFER_START)) {
|
||||
properties.setProperty(IMemoryExporter.TRANSFER_START, addrstr);
|
||||
if (!properties.containsKey(IMemoryImporter.TRANSFER_START)) {
|
||||
properties.setProperty(IMemoryImporter.TRANSFER_START, addrstr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue